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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-