@Generated(value="software.amazon.awssdk:codegen") public final class JobDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobDetails.Builder,JobDetails>
Contains details about the policy generation request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobDetails.Builder |
builder() |
Instant |
completedOn()
A timestamp of when the job was completed.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
JobError |
jobError()
The job error for the policy generation request.
|
String |
jobId()
The
JobId that is returned by the StartPolicyGeneration operation. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobDetails.Builder> |
serializableBuilderClass() |
Instant |
startedOn()
A timestamp of when the job was started.
|
JobStatus |
status()
The status of the job request.
|
String |
statusAsString()
The status of the job request.
|
JobDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant completedOn()
A timestamp of when the job was completed.
public final JobError jobError()
The job error for the policy generation request.
public final String jobId()
The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used
with CancelPolicyGeneration to cancel the policy generation request.
JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or
used with CancelPolicyGeneration to cancel the policy generation request.public final Instant startedOn()
A timestamp of when the job was started.
public final JobStatus status()
The status of the job request.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic final String statusAsString()
The status of the job request.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic JobDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobDetails.Builder,JobDetails>public static JobDetails.Builder builder()
public static Class<? extends JobDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.