Interface UpdateAliasRoutingRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAliasRoutingRequest.Builder,,UpdateAliasRoutingRequest> SdkBuilder<UpdateAliasRoutingRequest.Builder,,UpdateAliasRoutingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAliasRoutingRequest
@Mutable
@NotThreadSafe
public static interface UpdateAliasRoutingRequest.Builder
extends AmplifyGen3Request.Builder, SdkPojo, CopyableBuilder<UpdateAliasRoutingRequest.Builder,UpdateAliasRoutingRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the alias.The name of the app.environmentName(String environmentName) The name of the environment.gradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings to apply to the alias.gradualRolloutConfig(GradualRolloutConfig gradualRolloutConfig) The gradual rollout settings to apply to the alias.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.routingConfig(Collection<RoutingConfigEntry> routingConfig) The traffic routing configuration to apply to the alias.routingConfig(Consumer<RoutingConfigEntry.Builder>... routingConfig) The traffic routing configuration to apply to the alias.routingConfig(RoutingConfigEntry... routingConfig) The traffic routing configuration to apply to the alias.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Request.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, sdkFieldNameToField, sdkFields
-
Method Details
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the environment.
- Parameters:
environmentName- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aliasName
The name of the alias.
- Parameters:
aliasName- The name of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The traffic routing configuration to apply to the alias.
- Parameters:
routingConfig- The traffic routing configuration to apply to the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The traffic routing configuration to apply to the alias.
- Parameters:
routingConfig- The traffic routing configuration to apply to the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
UpdateAliasRoutingRequest.Builder routingConfig(Consumer<RoutingConfigEntry.Builder>... routingConfig) The traffic routing configuration to apply to the alias.
This is a convenience method that creates an instance of theRoutingConfigEntry.Builderavoiding the need to create one manually viaRoutingConfigEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingConfig(List<RoutingConfigEntry>).- Parameters:
routingConfig- a consumer that will call methods onRoutingConfigEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gradualRolloutConfig
The gradual rollout settings to apply to the alias.
- Parameters:
gradualRolloutConfig- The gradual rollout settings to apply to the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gradualRolloutConfig
default UpdateAliasRoutingRequest.Builder gradualRolloutConfig(Consumer<GradualRolloutConfig.Builder> gradualRolloutConfig) The gradual rollout settings to apply to the alias.
This is a convenience method that creates an instance of theGradualRolloutConfig.Builderavoiding the need to create one manually viaGradualRolloutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togradualRolloutConfig(GradualRolloutConfig).- Parameters:
gradualRolloutConfig- a consumer that will call methods onGradualRolloutConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAliasRoutingRequest.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
UpdateAliasRoutingRequest.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.
-