Interface UpdateWorkspaceAliasRequest.Builder
- All Superinterfaces:
AmpRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateWorkspaceAliasRequest.Builder,
,UpdateWorkspaceAliasRequest> SdkBuilder<UpdateWorkspaceAliasRequest.Builder,
,UpdateWorkspaceAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateWorkspaceAliasRequest
public static interface UpdateWorkspaceAliasRequest.Builder
extends AmpRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkspaceAliasRequest.Builder,UpdateWorkspaceAliasRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe new alias for the workspace.clientToken
(String clientToken) A unique identifier that you can provide to ensure the idempotency of the request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceId
(String workspaceId) The ID of the workspace to update.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
The new alias for the workspace. It does not need to be unique.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
- Parameters:
alias
- The new alias for the workspace. It does not need to be unique.Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
- 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.
-
workspaceId
The ID of the workspace to update.
- Parameters:
workspaceId
- The ID of the workspace to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWorkspaceAliasRequest.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
UpdateWorkspaceAliasRequest.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.
-