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
Modifier and TypeMethodDescriptionAn alias that you assign to this workspace to help you identify it.clientToken
(String clientToken) A unique identifier that you can provide to ensure the idempotency of the request.(optional) The ARN for a customer managed KMS key to use for encrypting data within your workspace.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
-
Method Details
-
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
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
(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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkspaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-