Class GetMediaAnalysisJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.rekognition.model.RekognitionResponse
-
- software.amazon.awssdk.services.rekognition.model.GetMediaAnalysisJobResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetMediaAnalysisJobResponse.Builder,GetMediaAnalysisJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetMediaAnalysisJobResponse extends RekognitionResponse implements ToCopyableBuilder<GetMediaAnalysisJobResponse.Builder,GetMediaAnalysisJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetMediaAnalysisJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMediaAnalysisJobResponse.Builderbuilder()InstantcompletionTimestamp()The Unix date and time when the job finished.InstantcreationTimestamp()The Unix date and time when the job was started.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)MediaAnalysisJobFailureDetailsfailureDetails()Details about the error that resulted in failure of the job.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MediaAnalysisInputinput()Reference to the input manifest that was provided in the job creation request.StringjobId()The identifier for the media analysis job.StringjobName()The name of the media analysis job.StringkmsKeyId()KMS Key that was provided in the creation request.MediaAnalysisManifestSummarymanifestSummary()The summary manifest provides statistics on input manifest and errors identified in the input manifest.MediaAnalysisOperationsConfigoperationsConfig()Operation configurations that were provided during job creation.MediaAnalysisOutputConfigoutputConfig()Output configuration that was provided in the creation request.MediaAnalysisResultsresults()Output manifest that contains prediction results.List<SdkField<?>>sdkFields()static Class<? extends GetMediaAnalysisJobResponse.Builder>serializableBuilderClass()MediaAnalysisJobStatusstatus()The current status of the media analysis job.StringstatusAsString()The current status of the media analysis job.GetMediaAnalysisJobResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.rekognition.model.RekognitionResponse
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
-
jobId
public final String jobId()
The identifier for the media analysis job.
- Returns:
- The identifier for the media analysis job.
-
jobName
public final String jobName()
The name of the media analysis job.
- Returns:
- The name of the media analysis job.
-
operationsConfig
public final MediaAnalysisOperationsConfig operationsConfig()
Operation configurations that were provided during job creation.
- Returns:
- Operation configurations that were provided during job creation.
-
status
public final MediaAnalysisJobStatus status()
The current status of the media analysis job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMediaAnalysisJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the media analysis job.
- See Also:
MediaAnalysisJobStatus
-
statusAsString
public final String statusAsString()
The current status of the media analysis job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMediaAnalysisJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the media analysis job.
- See Also:
MediaAnalysisJobStatus
-
failureDetails
public final MediaAnalysisJobFailureDetails failureDetails()
Details about the error that resulted in failure of the job.
- Returns:
- Details about the error that resulted in failure of the job.
-
creationTimestamp
public final Instant creationTimestamp()
The Unix date and time when the job was started.
- Returns:
- The Unix date and time when the job was started.
-
completionTimestamp
public final Instant completionTimestamp()
The Unix date and time when the job finished.
- Returns:
- The Unix date and time when the job finished.
-
input
public final MediaAnalysisInput input()
Reference to the input manifest that was provided in the job creation request.
- Returns:
- Reference to the input manifest that was provided in the job creation request.
-
outputConfig
public final MediaAnalysisOutputConfig outputConfig()
Output configuration that was provided in the creation request.
- Returns:
- Output configuration that was provided in the creation request.
-
kmsKeyId
public final String kmsKeyId()
KMS Key that was provided in the creation request.
- Returns:
- KMS Key that was provided in the creation request.
-
results
public final MediaAnalysisResults results()
Output manifest that contains prediction results.
- Returns:
- Output manifest that contains prediction results.
-
manifestSummary
public final MediaAnalysisManifestSummary manifestSummary()
The summary manifest provides statistics on input manifest and errors identified in the input manifest.
- Returns:
- The summary manifest provides statistics on input manifest and errors identified in the input manifest.
-
toBuilder
public GetMediaAnalysisJobResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMediaAnalysisJobResponse.Builder,GetMediaAnalysisJobResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetMediaAnalysisJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMediaAnalysisJobResponse.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
-
-