Class DescribeDashboardSnapshotJobResultResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.quicksight.model.QuickSightResponse
-
- software.amazon.awssdk.services.quicksight.model.DescribeDashboardSnapshotJobResultResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeDashboardSnapshotJobResultResponse.Builder,DescribeDashboardSnapshotJobResultResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeDashboardSnapshotJobResultResponse extends QuickSightResponse implements ToCopyableBuilder<DescribeDashboardSnapshotJobResultResponse.Builder,DescribeDashboardSnapshotJobResultResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeDashboardSnapshotJobResultResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) for the snapshot job.static DescribeDashboardSnapshotJobResultResponse.Builderbuilder()InstantcreatedTime()The time that a snapshot job was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)SnapshotJobErrorInfoerrorInfo()Displays information for the error that caused a job to fail.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SnapshotJobStatusjobStatus()Indicates the status of a job after it has reached a terminal state.StringjobStatusAsString()Indicates the status of a job after it has reached a terminal state.InstantlastUpdatedTime()The time that a snapshot job status was last updated.StringrequestId()The Amazon Web Services request ID for this operation.SnapshotJobResultresult()The result of the snapshot job.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeDashboardSnapshotJobResultResponse.Builder>serializableBuilderClass()Integerstatus()The HTTP status of the requestDescribeDashboardSnapshotJobResultResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.quicksight.model.QuickSightResponse
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
-
arn
public final String arn()
The Amazon Resource Name (ARN) for the snapshot job. The job ARN is generated when you start a new job with a
StartDashboardSnapshotJobAPI call.- Returns:
- The Amazon Resource Name (ARN) for the snapshot job. The job ARN is generated when you start a new job
with a
StartDashboardSnapshotJobAPI call.
-
jobStatus
public final SnapshotJobStatus jobStatus()
Indicates the status of a job after it has reached a terminal state. A finished snapshot job will retuen a
COMPLETEDorFAILEDstatus.If the service returns an enum value that is not available in the current SDK version,
jobStatuswill returnSnapshotJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStatusAsString().- Returns:
- Indicates the status of a job after it has reached a terminal state. A finished snapshot job will retuen
a
COMPLETEDorFAILEDstatus. - See Also:
SnapshotJobStatus
-
jobStatusAsString
public final String jobStatusAsString()
Indicates the status of a job after it has reached a terminal state. A finished snapshot job will retuen a
COMPLETEDorFAILEDstatus.If the service returns an enum value that is not available in the current SDK version,
jobStatuswill returnSnapshotJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStatusAsString().- Returns:
- Indicates the status of a job after it has reached a terminal state. A finished snapshot job will retuen
a
COMPLETEDorFAILEDstatus. - See Also:
SnapshotJobStatus
-
createdTime
public final Instant createdTime()
The time that a snapshot job was created.
- Returns:
- The time that a snapshot job was created.
-
lastUpdatedTime
public final Instant lastUpdatedTime()
The time that a snapshot job status was last updated.
- Returns:
- The time that a snapshot job status was last updated.
-
result
public final SnapshotJobResult result()
The result of the snapshot job. Jobs that have successfully completed will return the S3Uri where they are located. Jobs that have failedwill return information on the error that caused the job to fail.
- Returns:
- The result of the snapshot job. Jobs that have successfully completed will return the S3Uri where they are located. Jobs that have failedwill return information on the error that caused the job to fail.
-
errorInfo
public final SnapshotJobErrorInfo errorInfo()
Displays information for the error that caused a job to fail.
- Returns:
- Displays information for the error that caused a job to fail.
-
requestId
public final String requestId()
The Amazon Web Services request ID for this operation.
- Returns:
- The Amazon Web Services request ID for this operation.
-
status
public final Integer status()
The HTTP status of the request
- Returns:
- The HTTP status of the request
-
toBuilder
public DescribeDashboardSnapshotJobResultResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeDashboardSnapshotJobResultResponse.Builder,DescribeDashboardSnapshotJobResultResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeDashboardSnapshotJobResultResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeDashboardSnapshotJobResultResponse.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
-
-