Interface CreateWorkspaceRequest.Builder
-
- All Superinterfaces:
AmpRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkspaceRequest.Builder,CreateWorkspaceRequest>,SdkBuilder<CreateWorkspaceRequest.Builder,CreateWorkspaceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWorkspaceRequest
public static interface CreateWorkspaceRequest.Builder extends AmpRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkspaceRequest.Builder,CreateWorkspaceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkspaceRequest.Builderalias(String alias)An alias that you assign to this workspace to help you identify it.CreateWorkspaceRequest.BuilderclientToken(String clientToken)A unique identifier that you can provide to ensure the idempotency of the request.CreateWorkspaceRequest.BuilderkmsKeyArn(String kmsKeyArn)(optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace.CreateWorkspaceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWorkspaceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateWorkspaceRequest.Buildertags(Map<String,String> tags)The list of tag keys and values to associate with the workspace.-
Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
-
-
-
Method Detail
-
alias
CreateWorkspaceRequest.Builder alias(String alias)
An alias that you assign to this workspace to help you identify it. It does not need to be unique.
Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.
- Parameters:
alias- An alias that you assign to this workspace to help you identify it. It does not need to be unique.Blank spaces at the beginning or end of the alias that you specify will be trimmed from the value used.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateWorkspaceRequest.Builder clientToken(String clientToken)
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
- Parameters:
clientToken- A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
CreateWorkspaceRequest.Builder kmsKeyArn(String kmsKeyArn)
(optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.
- Parameters:
kmsKeyArn- (optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see Encryption at rest in the Amazon Managed Service for Prometheus User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWorkspaceRequest.Builder tags(Map<String,String> tags)
The list of tag keys and values to associate with the workspace.
- Parameters:
tags- The list of tag keys and values to associate with the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWorkspaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWorkspaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-