Interface PalettePrimary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PalettePrimary.Builder,,PalettePrimary> SdkBuilder<PalettePrimary.Builder,,PalettePrimary> SdkPojo
- Enclosing class:
PalettePrimary
@Mutable
@NotThreadSafe
public static interface PalettePrimary.Builder
extends SdkPojo, CopyableBuilder<PalettePrimary.Builder,PalettePrimary>
-
Method Summary
Modifier and TypeMethodDescriptionThe primary color used for active states.contrastText(String contrastText) The text color that contrasts with the primary color for readability.defaultValue(String defaultValue) The default primary color used throughout the workspace.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, sdkFieldNameToField, sdkFields
-
Method Details
-
defaultValue
The default primary color used throughout the workspace.
- Parameters:
defaultValue- The default primary color used throughout the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
active
The primary color used for active states.
- Parameters:
active- The primary color used for active states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contrastText
The text color that contrasts with the primary color for readability.
- Parameters:
contrastText- The text color that contrasts with the primary color for readability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-