Class JobExecutionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.JobExecutionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobExecutionSummary.Builder,JobExecutionSummary>
@Generated("software.amazon.awssdk:codegen") public final class JobExecutionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobExecutionSummary.Builder,JobExecutionSummary>
The job execution summary.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobExecutionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobExecutionSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongexecutionNumber()A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedAt()The time, in seconds since the epoch, when the job execution was last updated.InstantqueuedAt()The time, in seconds since the epoch, when the job execution was queued.IntegerretryAttempt()The number that indicates how many retry attempts have been completed for this job on this device.List<SdkField<?>>sdkFields()static Class<? extends JobExecutionSummary.Builder>serializableBuilderClass()InstantstartedAt()The time, in seconds since the epoch, when the job execution started.JobExecutionStatusstatus()The status of the job execution.StringstatusAsString()The status of the job execution.JobExecutionSummary.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
-
status
public final JobExecutionStatus status()
The status of the job execution.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the job execution.
- See Also:
JobExecutionStatus
-
statusAsString
public final String statusAsString()
The status of the job execution.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the job execution.
- See Also:
JobExecutionStatus
-
queuedAt
public final Instant queuedAt()
The time, in seconds since the epoch, when the job execution was queued.
- Returns:
- The time, in seconds since the epoch, when the job execution was queued.
-
startedAt
public final Instant startedAt()
The time, in seconds since the epoch, when the job execution started.
- Returns:
- The time, in seconds since the epoch, when the job execution started.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The time, in seconds since the epoch, when the job execution was last updated.
- Returns:
- The time, in seconds since the epoch, when the job execution was last updated.
-
executionNumber
public final Long executionNumber()
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
- Returns:
- A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
-
retryAttempt
public final Integer retryAttempt()
The number that indicates how many retry attempts have been completed for this job on this device.
- Returns:
- The number that indicates how many retry attempts have been completed for this job on this device.
-
toBuilder
public JobExecutionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobExecutionSummary.Builder,JobExecutionSummary>
-
builder
public static JobExecutionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobExecutionSummary.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.
-
-