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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateWorkspaceAliasRequest.Builderalias(String alias)The new alias for the workspace.UpdateWorkspaceAliasRequest.BuilderclientToken(String clientToken)A unique identifier that you can provide to ensure the idempotency of the request.UpdateWorkspaceAliasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateWorkspaceAliasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateWorkspaceAliasRequest.BuilderworkspaceId(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 Detail
-
alias
UpdateWorkspaceAliasRequest.Builder alias(String 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
UpdateWorkspaceAliasRequest.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.
-
workspaceId
UpdateWorkspaceAliasRequest.Builder workspaceId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWorkspaceAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-