Interface WorkspaceStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceStatus.Builder,,WorkspaceStatus> SdkBuilder<WorkspaceStatus.Builder,,WorkspaceStatus> SdkPojo
- Enclosing class:
WorkspaceStatus
@Mutable
@NotThreadSafe
public static interface WorkspaceStatus.Builder
extends SdkPojo, CopyableBuilder<WorkspaceStatus.Builder,WorkspaceStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkspaceStatus.BuilderContains associated error information, if any.error(WorkspaceErrorDetails error) Contains associated error information, if any.The current state of the workspace.state(WorkspaceState state) The current state of 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
-
state
The current state of the workspace.
- Parameters:
state- The current state of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the workspace.
- Parameters:
state- The current state of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
Contains associated error information, if any.
- Parameters:
error- Contains associated error information, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Contains associated error information, if any.
This is a convenience method that creates an instance of theWorkspaceErrorDetails.Builderavoiding the need to create one manually viaWorkspaceErrorDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(WorkspaceErrorDetails).- Parameters:
error- a consumer that will call methods onWorkspaceErrorDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-