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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateWorkspaceResponse.Builderarn(String arn)The ARN of the workspace that was just created.CreateWorkspaceResponse.BuilderkmsKeyArn(String kmsKeyArn)Customer managed KMS key ARN for this workspacedefault CreateWorkspaceResponse.Builderstatus(Consumer<WorkspaceStatus.Builder> status)The status of the workspace that was just created (usually CREATING).CreateWorkspaceResponse.Builderstatus(WorkspaceStatus status)The status of the workspace that was just created (usually CREATING).CreateWorkspaceResponse.Buildertags(Map<String,String> tags)The tags of this workspace.CreateWorkspaceResponse.BuilderworkspaceId(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, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
workspaceId
CreateWorkspaceResponse.Builder workspaceId(String 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
CreateWorkspaceResponse.Builder arn(String 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
CreateWorkspaceResponse.Builder status(WorkspaceStatus 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
default CreateWorkspaceResponse.Builder status(Consumer<WorkspaceStatus.Builder> 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:
status(WorkspaceStatus)
-
tags
CreateWorkspaceResponse.Builder tags(Map<String,String> 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.
-
kmsKeyArn
CreateWorkspaceResponse.Builder kmsKeyArn(String kmsKeyArn)
Customer managed KMS key ARN for this workspace
- Parameters:
kmsKeyArn- Customer managed KMS key ARN for this workspace- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-