Interface WorkspaceTheme.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceTheme.Builder,,WorkspaceTheme> SdkBuilder<WorkspaceTheme.Builder,,WorkspaceTheme> SdkPojo
- Enclosing class:
WorkspaceTheme
@Mutable
@NotThreadSafe
public static interface WorkspaceTheme.Builder
extends SdkPojo, CopyableBuilder<WorkspaceTheme.Builder,WorkspaceTheme>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkspaceTheme.BuilderThe theme configuration for dark mode.dark(WorkspaceThemeConfig dark) The theme configuration for dark mode.default WorkspaceTheme.BuilderThe theme configuration for light mode.light(WorkspaceThemeConfig light) The theme configuration for light mode.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
-
light
The theme configuration for light mode.
- Parameters:
light- The theme configuration for light mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
light
The theme configuration for light mode.
This is a convenience method that creates an instance of theWorkspaceThemeConfig.Builderavoiding the need to create one manually viaWorkspaceThemeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolight(WorkspaceThemeConfig).- Parameters:
light- a consumer that will call methods onWorkspaceThemeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dark
The theme configuration for dark mode.
- Parameters:
dark- The theme configuration for dark mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dark
The theme configuration for dark mode.
This is a convenience method that creates an instance of theWorkspaceThemeConfig.Builderavoiding the need to create one manually viaWorkspaceThemeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todark(WorkspaceThemeConfig).- Parameters:
dark- a consumer that will call methods onWorkspaceThemeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-