Class StartMediaAnalysisJobRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rekognition.model.RekognitionRequest
-
- software.amazon.awssdk.services.rekognition.model.StartMediaAnalysisJobRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartMediaAnalysisJobRequest.Builder,StartMediaAnalysisJobRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartMediaAnalysisJobRequest extends RekognitionRequest implements ToCopyableBuilder<StartMediaAnalysisJobRequest.Builder,StartMediaAnalysisJobRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartMediaAnalysisJobRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartMediaAnalysisJobRequest.Builderbuilder()StringclientRequestToken()Idempotency token used to prevent the accidental creation of duplicate versions.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MediaAnalysisInputinput()Input data to be analyzed by the job.StringjobName()The name of the job.StringkmsKeyId()The identifier of customer managed AWS KMS key (name or ARN).MediaAnalysisOperationsConfigoperationsConfig()Configuration options for the media analysis job to be created.MediaAnalysisOutputConfigoutputConfig()The Amazon S3 bucket location to store the results.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartMediaAnalysisJobRequest.Builder>serializableBuilderClass()StartMediaAnalysisJobRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
clientRequestToken
public final String clientRequestToken()
Idempotency token used to prevent the accidental creation of duplicate versions. If you use the same token with multiple
StartMediaAnalysisJobRequestrequests, the same response is returned. UseClientRequestTokento prevent the same request from being processed more than once.- Returns:
- Idempotency token used to prevent the accidental creation of duplicate versions. If you use the same
token with multiple
StartMediaAnalysisJobRequestrequests, the same response is returned. UseClientRequestTokento prevent the same request from being processed more than once.
-
jobName
public final String jobName()
The name of the job. Does not have to be unique.
- Returns:
- The name of the job. Does not have to be unique.
-
operationsConfig
public final MediaAnalysisOperationsConfig operationsConfig()
Configuration options for the media analysis job to be created.
- Returns:
- Configuration options for the media analysis job to be created.
-
input
public final MediaAnalysisInput input()
Input data to be analyzed by the job.
- Returns:
- Input data to be analyzed by the job.
-
outputConfig
public final MediaAnalysisOutputConfig outputConfig()
The Amazon S3 bucket location to store the results.
- Returns:
- The Amazon S3 bucket location to store the results.
-
kmsKeyId
public final String kmsKeyId()
The identifier of customer managed AWS KMS key (name or ARN). The key is used to encrypt images copied into the service. The key is also used to encrypt results and manifest files written to the output Amazon S3 bucket.
- Returns:
- The identifier of customer managed AWS KMS key (name or ARN). The key is used to encrypt images copied into the service. The key is also used to encrypt results and manifest files written to the output Amazon S3 bucket.
-
toBuilder
public StartMediaAnalysisJobRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartMediaAnalysisJobRequest.Builder,StartMediaAnalysisJobRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static StartMediaAnalysisJobRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartMediaAnalysisJobRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-