Interface MediaAnalysisOperationsConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MediaAnalysisOperationsConfig.Builder,
,MediaAnalysisOperationsConfig> SdkBuilder<MediaAnalysisOperationsConfig.Builder,
,MediaAnalysisOperationsConfig> SdkPojo
- Enclosing class:
MediaAnalysisOperationsConfig
public static interface MediaAnalysisOperationsConfig.Builder
extends SdkPojo, CopyableBuilder<MediaAnalysisOperationsConfig.Builder,MediaAnalysisOperationsConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondetectModerationLabels
(Consumer<MediaAnalysisDetectModerationLabelsConfig.Builder> detectModerationLabels) Contains configuration options for a DetectModerationLabels job.detectModerationLabels
(MediaAnalysisDetectModerationLabelsConfig detectModerationLabels) Contains configuration options for a DetectModerationLabels job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
detectModerationLabels
MediaAnalysisOperationsConfig.Builder detectModerationLabels(MediaAnalysisDetectModerationLabelsConfig detectModerationLabels) Contains configuration options for a DetectModerationLabels job.
- Parameters:
detectModerationLabels
- Contains configuration options for a DetectModerationLabels job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectModerationLabels
default MediaAnalysisOperationsConfig.Builder detectModerationLabels(Consumer<MediaAnalysisDetectModerationLabelsConfig.Builder> detectModerationLabels) Contains configuration options for a DetectModerationLabels job.
This is a convenience method that creates an instance of theMediaAnalysisDetectModerationLabelsConfig.Builder
avoiding the need to create one manually viaMediaAnalysisDetectModerationLabelsConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetectModerationLabels(MediaAnalysisDetectModerationLabelsConfig)
.- Parameters:
detectModerationLabels
- a consumer that will call methods onMediaAnalysisDetectModerationLabelsConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-