Interface CreateWorkspaceResponse.Builder
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkspaceResponse.Builder,,CreateWorkspaceResponse> SdkBuilder<CreateWorkspaceResponse.Builder,,CreateWorkspaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateWorkspaceResponse
public static interface CreateWorkspaceResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceResponse.Builder,CreateWorkspaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the workspace that was just created.default CreateWorkspaceResponse.Builderstatus(Consumer<WorkspaceStatus.Builder> status) The status of the workspace that was just created (usually CREATING).status(WorkspaceStatus status) The status of the workspace that was just created (usually CREATING).The tags of this workspace.workspaceId(String workspaceId) The generated ID of the workspace that was just created.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workspaceId
The generated ID of the workspace that was just created.
- Parameters:
workspaceId- The generated ID of the workspace that was just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the workspace that was just created.
- Parameters:
arn- The ARN of the workspace that was just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the workspace that was just created (usually CREATING).
- Parameters:
status- The status of the workspace that was just created (usually CREATING).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the workspace that was just created (usually CREATING).
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:
-
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.
-