public static final class CfnEndpoint.VariantPropertyProperty.Builder
extends java.lang.Object
CfnEndpoint.VariantPropertyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEndpoint.VariantPropertyProperty |
build()
Builds the configured instance.
|
CfnEndpoint.VariantPropertyProperty.Builder |
variantPropertyType(java.lang.String variantPropertyType)
Sets the value of
CfnEndpoint.VariantPropertyProperty.getVariantPropertyType() |
public CfnEndpoint.VariantPropertyProperty.Builder variantPropertyType(java.lang.String variantPropertyType)
CfnEndpoint.VariantPropertyProperty.getVariantPropertyType()
variantPropertyType
- The type of variant property. The supported values are:.
DesiredInstanceCount
: Overrides the existing variant instance counts using the InitialInstanceCount values in the ProductionVariants .DesiredWeight
: Overrides the existing variant weights using the InitialVariantWeight values in the ProductionVariants .DataCaptureConfig
: (Not currently supported.)this
public CfnEndpoint.VariantPropertyProperty build()
CfnEndpoint.VariantPropertyProperty
java.lang.NullPointerException
- if any required attribute was not provided