@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VariantProperty extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a production variant property type for an Endpoint.
If you are updating an endpoint with the RetainAllVariantProperties option set to true, the VariantProperty objects listed in
ExcludeRetainedVariantProperties override the existing variant properties of the endpoint.
| Constructor and Description |
|---|
VariantProperty() |
| Modifier and Type | Method and Description |
|---|---|
VariantProperty |
clone() |
boolean |
equals(Object obj) |
String |
getVariantPropertyType()
The type of variant property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setVariantPropertyType(String variantPropertyType)
The type of variant property.
|
String |
toString()
Returns a string representation of this object.
|
VariantProperty |
withVariantPropertyType(String variantPropertyType)
The type of variant property.
|
VariantProperty |
withVariantPropertyType(VariantPropertyType variantPropertyType)
The type of variant property.
|
public void setVariantPropertyType(String 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.)
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.)
VariantPropertyTypepublic String getVariantPropertyType()
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.)
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.)
VariantPropertyTypepublic VariantProperty withVariantPropertyType(String 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.)
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.)
VariantPropertyTypepublic VariantProperty withVariantPropertyType(VariantPropertyType 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.)
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.)
VariantPropertyTypepublic String toString()
toString in class ObjectObject.toString()public VariantProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.