Class CommandExecutionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.CommandExecutionSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CommandExecutionSummary.Builder,CommandExecutionSummary>
@Generated("software.amazon.awssdk:codegen") public final class CommandExecutionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommandExecutionSummary.Builder,CommandExecutionSummary>
Summary information about a particular command execution.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CommandExecutionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommandExecutionSummary.Builder
builder()
String
commandArn()
The Amazon Resource Name (ARN) of the command execution.Instant
completedAt()
The date and time at which the command completed executing on the target device.Instant
createdAt()
The date and time at which the command execution was created for the target device.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
executionId()
The unique identifier of the command execution.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CommandExecutionSummary.Builder>
serializableBuilderClass()
Instant
startedAt()
The date and time at which the command started executing on the target device.CommandExecutionStatus
status()
The status of the command executions.String
statusAsString()
The status of the command executions.String
targetArn()
The Amazon Resource Name (ARN) of the target device for which the command is being executed.CommandExecutionSummary.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
commandArn
public final String commandArn()
The Amazon Resource Name (ARN) of the command execution.
- Returns:
- The Amazon Resource Name (ARN) of the command execution.
-
executionId
public final String executionId()
The unique identifier of the command execution.
- Returns:
- The unique identifier of the command execution.
-
targetArn
public final String targetArn()
The Amazon Resource Name (ARN) of the target device for which the command is being executed.
- Returns:
- The Amazon Resource Name (ARN) of the target device for which the command is being executed.
-
status
public final CommandExecutionStatus status()
The status of the command executions.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCommandExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the command executions.
- See Also:
CommandExecutionStatus
-
statusAsString
public final String statusAsString()
The status of the command executions.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCommandExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the command executions.
- See Also:
CommandExecutionStatus
-
createdAt
public final Instant createdAt()
The date and time at which the command execution was created for the target device.
- Returns:
- The date and time at which the command execution was created for the target device.
-
startedAt
public final Instant startedAt()
The date and time at which the command started executing on the target device.
- Returns:
- The date and time at which the command started executing on the target device.
-
completedAt
public final Instant completedAt()
The date and time at which the command completed executing on the target device.
- Returns:
- The date and time at which the command completed executing on the target device.
-
toBuilder
public CommandExecutionSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CommandExecutionSummary.Builder,CommandExecutionSummary>
-
builder
public static CommandExecutionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends CommandExecutionSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-