Interface ColorsConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ColorsConfiguration.Builder,
,ColorsConfiguration> SdkBuilder<ColorsConfiguration.Builder,
,ColorsConfiguration> SdkPojo
- Enclosing class:
ColorsConfiguration
public static interface ColorsConfiguration.Builder
extends SdkPojo, CopyableBuilder<ColorsConfiguration.Builder,ColorsConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncustomColors
(Collection<CustomColor> customColors) A list of up to 50 custom colors.customColors
(Consumer<CustomColor.Builder>... customColors) A list of up to 50 custom colors.customColors
(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, sdkFields
-
Method Details
-
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
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
A list of up to 50 custom colors.
This is a convenience method that creates an instance of theCustomColor.Builder
avoiding the need to create one manually viaCustomColor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomColors(List<CustomColor>)
.- 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:
-