Class JobSummary
- java.lang.Object
-
- software.amazon.awssdk.services.entityresolution.model.JobSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobSummary.Builder,JobSummary>
@Generated("software.amazon.awssdk:codegen") public final class JobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobSummary.Builder,JobSummary>
An object containing the
JobId,Status,StartTime, andEndTimeof a job.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobSummary.Builderbuilder()InstantendTime()The time at which the job has finished.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The ID of the job.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends JobSummary.Builder>serializableBuilderClass()InstantstartTime()The time at which the job was started.JobStatusstatus()The current status of the job.StringstatusAsString()The current status of the job.JobSummary.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
-
endTime
public final Instant endTime()
The time at which the job has finished.
- Returns:
- The time at which the job has finished.
-
jobId
public final String jobId()
The ID of the job.
- Returns:
- The ID of the job.
-
startTime
public final Instant startTime()
The time at which the job was started.
- Returns:
- The time at which the job was started.
-
status
public final JobStatus status()
The current status of the job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the job.
- See Also:
JobStatus
-
statusAsString
public final String statusAsString()
The current status of the job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the job.
- See Also:
JobStatus
-
toBuilder
public JobSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobSummary.Builder,JobSummary>
-
builder
public static JobSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobSummary.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
-
-