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 for the new workspace.CreateWorkspaceResponse.BuilderkmsKeyArn(String kmsKeyArn)(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.default CreateWorkspaceResponse.Builderstatus(Consumer<WorkspaceStatus.Builder> status)The current status of the new workspace.CreateWorkspaceResponse.Builderstatus(WorkspaceStatus status)The current status of the new workspace.CreateWorkspaceResponse.Buildertags(Map<String,String> tags)The list of tag keys and values that are associated with the workspace.CreateWorkspaceResponse.BuilderworkspaceId(String workspaceId)The unique ID for the new workspace.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateWorkspaceResponse.Builder arn(String arn)
The ARN for the new workspace.
- Parameters:
arn- The ARN for the new workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
CreateWorkspaceResponse.Builder kmsKeyArn(String kmsKeyArn)
(optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
- Parameters:
kmsKeyArn- (optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateWorkspaceResponse.Builder status(WorkspaceStatus status)
The current status of the new workspace. Immediately after you create the workspace, the status is usually
CREATING.- Parameters:
status- The current status of the new workspace. Immediately after you create the workspace, the status is usuallyCREATING.- 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 current status of the new workspace. Immediately after you create the workspace, the status is usually
This is a convenience method that creates an instance of theCREATING.WorkspaceStatus.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 list of tag keys and values that are associated with the workspace.
- Parameters:
tags- The list of tag keys and values that are associated with the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
CreateWorkspaceResponse.Builder workspaceId(String workspaceId)
The unique ID for the new workspace.
- Parameters:
workspaceId- The unique ID for the new workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-