Interface BrandColorPalette.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BrandColorPalette.Builder,BrandColorPalette>,SdkBuilder<BrandColorPalette.Builder,BrandColorPalette>,SdkPojo
- Enclosing class:
- BrandColorPalette
@Mutable @NotThreadSafe public static interface BrandColorPalette.Builder extends SdkPojo, CopyableBuilder<BrandColorPalette.Builder,BrandColorPalette>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BrandColorPalette.Builderaccent(Consumer<Palette.Builder> accent)The color that is used for accent elements.BrandColorPalette.Builderaccent(Palette accent)The color that is used for accent elements.default BrandColorPalette.Builderdanger(Consumer<Palette.Builder> danger)The color that is used for danger elements.BrandColorPalette.Builderdanger(Palette danger)The color that is used for danger elements.default BrandColorPalette.Builderdimension(Consumer<Palette.Builder> dimension)The color that is used for dimension elements.BrandColorPalette.Builderdimension(Palette dimension)The color that is used for dimension elements.default BrandColorPalette.Builderinfo(Consumer<Palette.Builder> info)The color that is used for info elements.BrandColorPalette.Builderinfo(Palette info)The color that is used for info elements.default BrandColorPalette.Buildermeasure(Consumer<Palette.Builder> measure)The color that is used for measure elements.BrandColorPalette.Buildermeasure(Palette measure)The color that is used for measure elements.default BrandColorPalette.Builderprimary(Consumer<Palette.Builder> primary)The primary color.BrandColorPalette.Builderprimary(Palette primary)The primary color.default BrandColorPalette.Buildersecondary(Consumer<Palette.Builder> secondary)The secondary color.BrandColorPalette.Buildersecondary(Palette secondary)The secondary color.default BrandColorPalette.Buildersuccess(Consumer<Palette.Builder> success)The color that is used for success elements.BrandColorPalette.Buildersuccess(Palette success)The color that is used for success elements.default BrandColorPalette.Builderwarning(Consumer<Palette.Builder> warning)The color that is used for warning elements.BrandColorPalette.Builderwarning(Palette warning)The color that is used for warning elements.-
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
-
primary
BrandColorPalette.Builder primary(Palette primary)
The primary color.
- Parameters:
primary- The primary color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primary
default BrandColorPalette.Builder primary(Consumer<Palette.Builder> primary)
The primary color.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimary(Palette).- Parameters:
primary- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primary(Palette)
-
secondary
BrandColorPalette.Builder secondary(Palette secondary)
The secondary color.
- Parameters:
secondary- The secondary color.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondary
default BrandColorPalette.Builder secondary(Consumer<Palette.Builder> secondary)
The secondary color.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondary(Palette).- Parameters:
secondary- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
secondary(Palette)
-
accent
BrandColorPalette.Builder accent(Palette accent)
The color that is used for accent elements.
- Parameters:
accent- The color that is used for accent elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accent
default BrandColorPalette.Builder accent(Consumer<Palette.Builder> accent)
The color that is used for accent elements.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccent(Palette).- Parameters:
accent- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accent(Palette)
-
measure
BrandColorPalette.Builder measure(Palette measure)
The color that is used for measure elements.
- Parameters:
measure- The color that is used for measure elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
measure
default BrandColorPalette.Builder measure(Consumer<Palette.Builder> measure)
The color that is used for measure elements.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomeasure(Palette).- Parameters:
measure- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
measure(Palette)
-
dimension
BrandColorPalette.Builder dimension(Palette dimension)
The color that is used for dimension elements.
- Parameters:
dimension- The color that is used for dimension elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimension
default BrandColorPalette.Builder dimension(Consumer<Palette.Builder> dimension)
The color that is used for dimension elements.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimension(Palette).- Parameters:
dimension- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dimension(Palette)
-
success
BrandColorPalette.Builder success(Palette success)
The color that is used for success elements.
- Parameters:
success- The color that is used for success elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
success
default BrandColorPalette.Builder success(Consumer<Palette.Builder> success)
The color that is used for success elements.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccess(Palette).- Parameters:
success- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
success(Palette)
-
info
BrandColorPalette.Builder info(Palette info)
The color that is used for info elements.
- Parameters:
info- The color that is used for info elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
info
default BrandColorPalette.Builder info(Consumer<Palette.Builder> info)
The color that is used for info elements.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinfo(Palette).- Parameters:
info- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
info(Palette)
-
warning
BrandColorPalette.Builder warning(Palette warning)
The color that is used for warning elements.
- Parameters:
warning- The color that is used for warning elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warning
default BrandColorPalette.Builder warning(Consumer<Palette.Builder> warning)
The color that is used for warning elements.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarning(Palette).- Parameters:
warning- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
warning(Palette)
-
danger
BrandColorPalette.Builder danger(Palette danger)
The color that is used for danger elements.
- Parameters:
danger- The color that is used for danger elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
danger
default BrandColorPalette.Builder danger(Consumer<Palette.Builder> danger)
The color that is used for danger elements.
This is a convenience method that creates an instance of thePalette.Builderavoiding the need to create one manually viaPalette.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todanger(Palette).- Parameters:
danger- a consumer that will call methods onPalette.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
danger(Palette)
-
-