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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DetectLabelsSettings.BuildergeneralLabels(Consumer<GeneralLabelsSettings.Builder> generalLabels)Contains the specified filters for GENERAL_LABELS.DetectLabelsSettings.BuildergeneralLabels(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.DetectLabelsSettings.BuilderimageProperties(DetectLabelsImagePropertiesSettings imageProperties)Contains the chosen number of maximum dominant colors in an image.-
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 Detail
-
generalLabels
DetectLabelsSettings.Builder generalLabels(GeneralLabelsSettings 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:
generalLabels(GeneralLabelsSettings)
-
imageProperties
DetectLabelsSettings.Builder imageProperties(DetectLabelsImagePropertiesSettings 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:
imageProperties(DetectLabelsImagePropertiesSettings)
-
-