Interface WorkspaceSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceSummary.Builder,,WorkspaceSummary> SdkBuilder<WorkspaceSummary.Builder,,WorkspaceSummary> SdkPojo
- Enclosing class:
WorkspaceSummary
public static interface WorkspaceSummary.Builder
extends SdkPojo, CopyableBuilder<WorkspaceSummary.Builder,WorkspaceSummary>
-
Method Summary
Modifier and TypeMethodDescriptionAlias of this workspace.The AmazonResourceName of this workspace.The time when the workspace was created.default WorkspaceSummary.Builderstatus(Consumer<WorkspaceStatus.Builder> status) The status of this workspace.status(WorkspaceStatus status) The status of this workspace.The tags of this workspace.workspaceId(String workspaceId) Unique string identifying this 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, sdkFields
-
Method Details
-
workspaceId
Unique string identifying this workspace.
- Parameters:
workspaceId- Unique string identifying this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
Alias of this workspace.
- Parameters:
alias- Alias of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The AmazonResourceName of this workspace.
- Parameters:
arn- The AmazonResourceName of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of this workspace.
- Parameters:
status- The status of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of this workspace.
This is a convenience method that creates an instance of theWorkspaceStatus.Builderavoiding the need to create one manually viaWorkspaceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(WorkspaceStatus).- Parameters:
status- a consumer that will call methods onWorkspaceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time when the workspace was created.
- Parameters:
createdAt- The time when the workspace was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags of this workspace.
- Parameters:
tags- The tags of this workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-