Class GetJobRunResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.datazone.model.DataZoneResponse
-
- software.amazon.awssdk.services.datazone.model.GetJobRunResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetJobRunResponse.Builder,GetJobRunResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetJobRunResponse extends DataZoneResponse implements ToCopyableBuilder<GetJobRunResponse.Builder,GetJobRunResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetJobRunResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetJobRunResponse.Builderbuilder()InstantcreatedAt()The timestamp of when the job run was created.StringcreatedBy()The user who created the job run.JobRunDetailsdetails()The details of the job run.StringdomainId()The ID of the domain.InstantendTime()The timestamp of when the job run ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)JobRunErrorerror()The error generated if the action is not completed successfully.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the job run.StringjobId()The ID of the job run.JobTypejobType()The type of the job run.StringjobTypeAsString()The type of the job run.JobRunModerunMode()The mode of the job run.StringrunModeAsString()The mode of the job run.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetJobRunResponse.Builder>serializableBuilderClass()InstantstartTime()The timestamp of when the job run started.JobRunStatusstatus()The status of the job run.StringstatusAsString()The status of the job run.GetJobRunResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.datazone.model.DataZoneResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
createdAt
public final Instant createdAt()
The timestamp of when the job run was created.
- Returns:
- The timestamp of when the job run was created.
-
createdBy
public final String createdBy()
The user who created the job run.
- Returns:
- The user who created the job run.
-
details
public final JobRunDetails details()
The details of the job run.
- Returns:
- The details of the job run.
-
domainId
public final String domainId()
The ID of the domain.
- Returns:
- The ID of the domain.
-
endTime
public final Instant endTime()
The timestamp of when the job run ended.
- Returns:
- The timestamp of when the job run ended.
-
error
public final JobRunError error()
The error generated if the action is not completed successfully.
- Returns:
- The error generated if the action is not completed successfully.
-
id
public final String id()
The ID of the job run.
- Returns:
- The ID of the job run.
-
jobId
public final String jobId()
The ID of the job run.
- Returns:
- The ID of the job run.
-
jobType
public final JobType jobType()
The type of the job run.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of the job run.
- See Also:
JobType
-
jobTypeAsString
public final String jobTypeAsString()
The type of the job run.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of the job run.
- See Also:
JobType
-
runMode
public final JobRunMode runMode()
The mode of the job run.
If the service returns an enum value that is not available in the current SDK version,
runModewill returnJobRunMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunModeAsString().- Returns:
- The mode of the job run.
- See Also:
JobRunMode
-
runModeAsString
public final String runModeAsString()
The mode of the job run.
If the service returns an enum value that is not available in the current SDK version,
runModewill returnJobRunMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunModeAsString().- Returns:
- The mode of the job run.
- See Also:
JobRunMode
-
startTime
public final Instant startTime()
The timestamp of when the job run started.
- Returns:
- The timestamp of when the job run started.
-
status
public final JobRunStatus status()
The status of the job run.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the job run.
- See Also:
JobRunStatus
-
statusAsString
public final String statusAsString()
The status of the job run.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the job run.
- See Also:
JobRunStatus
-
toBuilder
public GetJobRunResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetJobRunResponse.Builder,GetJobRunResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetJobRunResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetJobRunResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-