Interface ColorsConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ColorsConfiguration.Builder,ColorsConfiguration>,SdkBuilder<ColorsConfiguration.Builder,ColorsConfiguration>,SdkPojo
- Enclosing class:
- ColorsConfiguration
@Mutable @NotThreadSafe public static interface ColorsConfiguration.Builder extends SdkPojo, CopyableBuilder<ColorsConfiguration.Builder,ColorsConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColorsConfiguration.BuildercustomColors(Collection<CustomColor> customColors)A list of up to 50 custom colors.ColorsConfiguration.BuildercustomColors(Consumer<CustomColor.Builder>... customColors)A list of up to 50 custom colors.ColorsConfiguration.BuildercustomColors(CustomColor... customColors)A list of up to 50 custom colors.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
customColors
ColorsConfiguration.Builder customColors(Collection<CustomColor> customColors)
A list of up to 50 custom colors.
- Parameters:
customColors- A list of up to 50 custom colors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customColors
ColorsConfiguration.Builder customColors(CustomColor... customColors)
A list of up to 50 custom colors.
- Parameters:
customColors- A list of up to 50 custom colors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customColors
ColorsConfiguration.Builder customColors(Consumer<CustomColor.Builder>... customColors)
A list of up to 50 custom colors.
This is a convenience method that creates an instance of theCustomColor.Builderavoiding the need to create one manually viaCustomColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customColors(List.) - Parameters:
customColors- a consumer that will call methods onCustomColor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customColors(java.util.Collection)
-
-