public static final class CfnAlias.VersionWeightProperty.Builder
extends java.lang.Object
CfnAlias.VersionWeightProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAlias.VersionWeightProperty |
build()
Builds the configured instance.
|
CfnAlias.VersionWeightProperty.Builder |
functionVersion(java.lang.String functionVersion)
Sets the value of
CfnAlias.VersionWeightProperty.getFunctionVersion() |
CfnAlias.VersionWeightProperty.Builder |
functionWeight(java.lang.Number functionWeight)
Sets the value of
CfnAlias.VersionWeightProperty.getFunctionWeight() |
public CfnAlias.VersionWeightProperty.Builder functionVersion(java.lang.String functionVersion)
CfnAlias.VersionWeightProperty.getFunctionVersion()
functionVersion
- The qualifier of the second version. This parameter is required.this
public CfnAlias.VersionWeightProperty.Builder functionWeight(java.lang.Number functionWeight)
CfnAlias.VersionWeightProperty.getFunctionWeight()
functionWeight
- The percentage of traffic that the alias routes to the second version. This parameter is required.this
public CfnAlias.VersionWeightProperty build()
CfnAlias.VersionWeightProperty
java.lang.NullPointerException
- if any required attribute was not provided