Class CfnAlias.AliasRoutingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnAlias.AliasRoutingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlias.AliasRoutingConfigurationProperty>
- Enclosing interface:
- CfnAlias.AliasRoutingConfigurationProperty
@Stability(Stable)
public static final class CfnAlias.AliasRoutingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlias.AliasRoutingConfigurationProperty>
A builder for
CfnAlias.AliasRoutingConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalVersionWeights
(List<? extends Object> additionalVersionWeights) Sets the value ofCfnAlias.AliasRoutingConfigurationProperty.getAdditionalVersionWeights()
additionalVersionWeights
(IResolvable additionalVersionWeights) Sets the value ofCfnAlias.AliasRoutingConfigurationProperty.getAdditionalVersionWeights()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalVersionWeights
@Stability(Stable) public CfnAlias.AliasRoutingConfigurationProperty.Builder additionalVersionWeights(IResolvable additionalVersionWeights) Sets the value ofCfnAlias.AliasRoutingConfigurationProperty.getAdditionalVersionWeights()
- Parameters:
additionalVersionWeights
- The second version, and the percentage of traffic that's routed to it. This parameter is required.- Returns:
this
-
additionalVersionWeights
@Stability(Stable) public CfnAlias.AliasRoutingConfigurationProperty.Builder additionalVersionWeights(List<? extends Object> additionalVersionWeights) Sets the value ofCfnAlias.AliasRoutingConfigurationProperty.getAdditionalVersionWeights()
- Parameters:
additionalVersionWeights
- The second version, and the percentage of traffic that's routed to it. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAlias.AliasRoutingConfigurationProperty>
- Returns:
- a new instance of
CfnAlias.AliasRoutingConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-