Interface FailedCreateWorkspaceRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FailedCreateWorkspaceRequest.Builder,
,FailedCreateWorkspaceRequest> SdkBuilder<FailedCreateWorkspaceRequest.Builder,
,FailedCreateWorkspaceRequest> SdkPojo
- Enclosing class:
FailedCreateWorkspaceRequest
public static interface FailedCreateWorkspaceRequest.Builder
extends SdkPojo, CopyableBuilder<FailedCreateWorkspaceRequest.Builder,FailedCreateWorkspaceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code that is returned if the WorkSpace cannot be created.errorMessage
(String errorMessage) The text of the error message that is returned if the WorkSpace cannot be created.workspaceRequest
(Consumer<WorkspaceRequest.Builder> workspaceRequest) Information about the WorkSpace.workspaceRequest
(WorkspaceRequest workspaceRequest) Information about the WorkSpace.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
-
workspaceRequest
Information about the WorkSpace.
- Parameters:
workspaceRequest
- Information about the WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceRequest
default FailedCreateWorkspaceRequest.Builder workspaceRequest(Consumer<WorkspaceRequest.Builder> workspaceRequest) Information about the WorkSpace.
This is a convenience method that creates an instance of theWorkspaceRequest.Builder
avoiding the need to create one manually viaWorkspaceRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkspaceRequest(WorkspaceRequest)
.- Parameters:
workspaceRequest
- a consumer that will call methods onWorkspaceRequest.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 WorkSpace cannot be created.
- Parameters:
errorCode
- The error code that is returned if the WorkSpace cannot 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 WorkSpace cannot be created.
- Parameters:
errorMessage
- The text of the error message that is returned if the WorkSpace cannot be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-