Interface DetectLabelsSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DetectLabelsSettings.Builder,,DetectLabelsSettings> SdkBuilder<DetectLabelsSettings.Builder,,DetectLabelsSettings> SdkPojo
- Enclosing class:
DetectLabelsSettings
public static interface DetectLabelsSettings.Builder
extends SdkPojo, CopyableBuilder<DetectLabelsSettings.Builder,DetectLabelsSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DetectLabelsSettings.BuildergeneralLabels(Consumer<GeneralLabelsSettings.Builder> generalLabels) Contains the specified filters for GENERAL_LABELS.generalLabels(GeneralLabelsSettings generalLabels) Contains the specified filters for GENERAL_LABELS.default DetectLabelsSettings.BuilderimageProperties(Consumer<DetectLabelsImagePropertiesSettings.Builder> imageProperties) Contains the chosen number of maximum dominant colors in an image.imageProperties(DetectLabelsImagePropertiesSettings imageProperties) Contains the chosen number of maximum dominant colors in an image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
generalLabels
Contains the specified filters for GENERAL_LABELS.
- Parameters:
generalLabels- Contains the specified filters for GENERAL_LABELS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generalLabels
default DetectLabelsSettings.Builder generalLabels(Consumer<GeneralLabelsSettings.Builder> generalLabels) Contains the specified filters for GENERAL_LABELS.
This is a convenience method that creates an instance of theGeneralLabelsSettings.Builderavoiding the need to create one manually viaGeneralLabelsSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeneralLabels(GeneralLabelsSettings).- Parameters:
generalLabels- a consumer that will call methods onGeneralLabelsSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageProperties
Contains the chosen number of maximum dominant colors in an image.
- Parameters:
imageProperties- Contains the chosen number of maximum dominant colors in an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageProperties
default DetectLabelsSettings.Builder imageProperties(Consumer<DetectLabelsImagePropertiesSettings.Builder> imageProperties) Contains the chosen number of maximum dominant colors in an image.
This is a convenience method that creates an instance of theDetectLabelsImagePropertiesSettings.Builderavoiding the need to create one manually viaDetectLabelsImagePropertiesSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageProperties(DetectLabelsImagePropertiesSettings).- Parameters:
imageProperties- a consumer that will call methods onDetectLabelsImagePropertiesSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-