Interface SetAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<SetAliasRequest.Builder,,SetAliasRequest> SdkBuilder<SetAliasRequest.Builder,,SetAliasRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SetAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe alias to assign to the stack.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name or unique stack ID of the stack to assign an alias to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
buildMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
stackName
The name or unique stack ID of the stack to assign an alias to.
- Parameters:
stackName- The name or unique stack ID of the stack to assign an alias to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliasName
The alias to assign to the stack. The alias can then be used in place of the stack name in any API call that accepts
StackName.The name must be unique within the same account and Region. It cannot match an existing stack name or another active alias.
An alias name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters.
- Parameters:
aliasName- The alias to assign to the stack. The alias can then be used in place of the stack name in any API call that acceptsStackName.The name must be unique within the same account and Region. It cannot match an existing stack name or another active alias.
An alias name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetAliasRequest.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
SetAliasRequest.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.
-