Interface StartMediaAnalysisJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMediaAnalysisJobRequest.Builder,StartMediaAnalysisJobRequest>,RekognitionRequest.Builder,SdkBuilder<StartMediaAnalysisJobRequest.Builder,StartMediaAnalysisJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartMediaAnalysisJobRequest
public static interface StartMediaAnalysisJobRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<StartMediaAnalysisJobRequest.Builder,StartMediaAnalysisJobRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientRequestToken
StartMediaAnalysisJobRequest.Builder clientRequestToken(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.- Parameters:
clientRequestToken- Idempotency token used to prevent the accidental creation of duplicate versions. If you use the same token with multipleStartMediaAnalysisJobRequestrequests, the same response is returned. UseClientRequestTokento prevent the same request from being processed more than once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
StartMediaAnalysisJobRequest.Builder jobName(String jobName)
The name of the job. Does not have to be unique.
- Parameters:
jobName- The name of the job. Does not have to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationsConfig
StartMediaAnalysisJobRequest.Builder operationsConfig(MediaAnalysisOperationsConfig operationsConfig)
Configuration options for the media analysis job to be created.
- Parameters:
operationsConfig- Configuration options for the media analysis job to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationsConfig
default StartMediaAnalysisJobRequest.Builder operationsConfig(Consumer<MediaAnalysisOperationsConfig.Builder> operationsConfig)
Configuration options for the media analysis job to be created.
This is a convenience method that creates an instance of theMediaAnalysisOperationsConfig.Builderavoiding the need to create one manually viaMediaAnalysisOperationsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperationsConfig(MediaAnalysisOperationsConfig).- Parameters:
operationsConfig- a consumer that will call methods onMediaAnalysisOperationsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
operationsConfig(MediaAnalysisOperationsConfig)
-
input
StartMediaAnalysisJobRequest.Builder input(MediaAnalysisInput input)
Input data to be analyzed by the job.
- Parameters:
input- Input data to be analyzed by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
default StartMediaAnalysisJobRequest.Builder input(Consumer<MediaAnalysisInput.Builder> input)
Input data to be analyzed by the job.
This is a convenience method that creates an instance of theMediaAnalysisInput.Builderavoiding the need to create one manually viaMediaAnalysisInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinput(MediaAnalysisInput).- Parameters:
input- a consumer that will call methods onMediaAnalysisInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
input(MediaAnalysisInput)
-
outputConfig
StartMediaAnalysisJobRequest.Builder outputConfig(MediaAnalysisOutputConfig outputConfig)
The Amazon S3 bucket location to store the results.
- Parameters:
outputConfig- The Amazon S3 bucket location to store the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default StartMediaAnalysisJobRequest.Builder outputConfig(Consumer<MediaAnalysisOutputConfig.Builder> outputConfig)
The Amazon S3 bucket location to store the results.
This is a convenience method that creates an instance of theMediaAnalysisOutputConfig.Builderavoiding the need to create one manually viaMediaAnalysisOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(MediaAnalysisOutputConfig).- Parameters:
outputConfig- a consumer that will call methods onMediaAnalysisOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputConfig(MediaAnalysisOutputConfig)
-
kmsKeyId
StartMediaAnalysisJobRequest.Builder kmsKeyId(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartMediaAnalysisJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartMediaAnalysisJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-