Interface FailedCreateStandbyWorkspacesRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FailedCreateStandbyWorkspacesRequest.Builder,
,FailedCreateStandbyWorkspacesRequest> SdkBuilder<FailedCreateStandbyWorkspacesRequest.Builder,
,FailedCreateStandbyWorkspacesRequest> SdkPojo
- Enclosing class:
FailedCreateStandbyWorkspacesRequest
public static interface FailedCreateStandbyWorkspacesRequest.Builder
extends SdkPojo, CopyableBuilder<FailedCreateStandbyWorkspacesRequest.Builder,FailedCreateStandbyWorkspacesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code that is returned if the standby WorkSpace could not be created.errorMessage
(String errorMessage) The text of the error message that is returned if the standby WorkSpace could not be created.standbyWorkspaceRequest
(Consumer<StandbyWorkspace.Builder> standbyWorkspaceRequest) Information about the standby WorkSpace that could not be created.standbyWorkspaceRequest
(StandbyWorkspace standbyWorkspaceRequest) Information about the standby WorkSpace that could not be created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
standbyWorkspaceRequest
FailedCreateStandbyWorkspacesRequest.Builder standbyWorkspaceRequest(StandbyWorkspace standbyWorkspaceRequest) Information about the standby WorkSpace that could not be created.
- Parameters:
standbyWorkspaceRequest
- Information about the standby WorkSpace that could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standbyWorkspaceRequest
default FailedCreateStandbyWorkspacesRequest.Builder standbyWorkspaceRequest(Consumer<StandbyWorkspace.Builder> standbyWorkspaceRequest) Information about the standby WorkSpace that could not be created.
This is a convenience method that creates an instance of theStandbyWorkspace.Builder
avoiding the need to create one manually viaStandbyWorkspace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostandbyWorkspaceRequest(StandbyWorkspace)
.- Parameters:
standbyWorkspaceRequest
- a consumer that will call methods onStandbyWorkspace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code that is returned if the standby WorkSpace could not be created.
- Parameters:
errorCode
- The error code that is returned if the standby WorkSpace could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The text of the error message that is returned if the standby WorkSpace could not be created.
- Parameters:
errorMessage
- The text of the error message that is returned if the standby WorkSpace could not be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-