Interface WorkspaceSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceSummary.Builder,,WorkspaceSummary> SdkBuilder<WorkspaceSummary.Builder,,WorkspaceSummary> SdkPojo
- Enclosing class:
WorkspaceSummary
@Mutable
@NotThreadSafe
public static interface WorkspaceSummary.Builder
extends SdkPojo, CopyableBuilder<WorkspaceSummary.Builder,WorkspaceSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the workspace.The date the workspace was created, in Unix epoch time.The name of the workspace.default WorkspaceSummary.Builderstatus(Consumer<WorkspaceStatus.Builder> status) The status of the workspace.status(WorkspaceStatus status) The status of the workspace.The date the workspace was last updated, in Unix epoch time.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
-
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 ARN of the workspace.
- Parameters:
arn- The ARN of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the workspace.
- Parameters:
status- The status of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the 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 date the workspace was created, in Unix epoch time.
- Parameters:
createdAt- The date the workspace was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date the workspace was last updated, in Unix epoch time.
- Parameters:
updatedAt- The date the workspace was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-