Interface Workspace.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Workspace.Builder,,Workspace> SdkBuilder<Workspace.Builder,,Workspace> SdkPojo
- Enclosing class:
Workspace
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the workspace.description(String description) The description of the workspace.The unique identifier of the workspace.lastModifiedRegion(String lastModifiedRegion) The AWS Region where the workspace was last modified.lastModifiedTime(Instant lastModifiedTime) The timestamp when the workspace was last modified.The name of the workspace.The tags used to organize, track, or control access for the workspace.default Workspace.Buildertheme(Consumer<WorkspaceTheme.Builder> theme) The theme configuration for the workspace, including colors and styling.theme(WorkspaceTheme theme) The theme configuration for the workspace, including colors and styling.The title displayed for the workspace.visibility(String visibility) Controls who can access the workspace.visibility(Visibility visibility) Controls who can access 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
-
visibility
Controls who can access the workspace. Valid values are:
ALL(all users),ASSIGNED(only assigned users and routing profiles), andNONE(not visible).- Parameters:
visibility- Controls who can access the workspace. Valid values are:ALL(all users),ASSIGNED(only assigned users and routing profiles), andNONE(not visible).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibility
Controls who can access the workspace. Valid values are:
ALL(all users),ASSIGNED(only assigned users and routing profiles), andNONE(not visible).- Parameters:
visibility- Controls who can access the workspace. Valid values are:ALL(all users),ASSIGNED(only assigned users and routing profiles), andNONE(not visible).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The unique identifier of the workspace.
- Parameters:
id- The unique identifier of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the workspace.
- Parameters:
name- The name of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the workspace.
- Parameters:
arn- The Amazon Resource Name (ARN) of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the workspace.
- Parameters:
description- The description of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
theme
The theme configuration for the workspace, including colors and styling.
- Parameters:
theme- The theme configuration for the workspace, including colors and styling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
theme
The theme configuration for the workspace, including colors and styling.
This is a convenience method that creates an instance of theWorkspaceTheme.Builderavoiding the need to create one manually viaWorkspaceTheme.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totheme(WorkspaceTheme).- Parameters:
theme- a consumer that will call methods onWorkspaceTheme.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
title
The title displayed for the workspace.
- Parameters:
title- The title displayed for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp when the workspace was last modified.
- Parameters:
lastModifiedTime- The timestamp when the workspace was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
The AWS Region where the workspace was last modified.
- Parameters:
lastModifiedRegion- The AWS Region where the workspace was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for the workspace.
- Parameters:
tags- The tags used to organize, track, or control access for the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-