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 interfaceCommandExecutionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommandExecutionSummary.Builderbuilder()StringcommandArn()The Amazon Resource Name (ARN) of the command execution.InstantcompletedAt()The date and time at which the command completed executing on the target device.InstantcreatedAt()The date and time at which the command execution was created for the target device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexecutionId()The unique identifier of the command execution.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CommandExecutionSummary.Builder>serializableBuilderClass()InstantstartedAt()The date and time at which the command started executing on the target device.CommandExecutionStatusstatus()The status of the command executions.StringstatusAsString()The status of the command executions.StringtargetArn()The Amazon Resource Name (ARN) of the target device for which the command is being executed.CommandExecutionSummary.BuildertoBuilder()StringtoString()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,
statuswill 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,
statuswill 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:
toBuilderin 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:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-