@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 UpdateEndpointInput$RetainAllVariantProperties option set to
true, the VariantProperty objects listed in
UpdateEndpointInput$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)
Marshalls this structured data using the given
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
ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.
DataCaptureConfig: (Not currently supported.)
variantPropertyType - The type of variant property. The supported values are:
DesiredInstanceCount: Overrides the existing variant instance counts using the
ProductionVariant$InitialInstanceCount values in the
CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the
CreateEndpointConfigInput$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
ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.
DataCaptureConfig: (Not currently supported.)
DesiredInstanceCount: Overrides the existing variant instance counts using the
ProductionVariant$InitialInstanceCount values in the
CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the
CreateEndpointConfigInput$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
ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.
DataCaptureConfig: (Not currently supported.)
variantPropertyType - The type of variant property. The supported values are:
DesiredInstanceCount: Overrides the existing variant instance counts using the
ProductionVariant$InitialInstanceCount values in the
CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the
CreateEndpointConfigInput$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
ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the CreateEndpointConfigInput$ProductionVariants.
DataCaptureConfig: (Not currently supported.)
variantPropertyType - The type of variant property. The supported values are:
DesiredInstanceCount: Overrides the existing variant instance counts using the
ProductionVariant$InitialInstanceCount values in the
CreateEndpointConfigInput$ProductionVariants.
DesiredWeight: Overrides the existing variant weights using the
ProductionVariant$InitialVariantWeight values in the
CreateEndpointConfigInput$ProductionVariants.
DataCaptureConfig: (Not currently supported.)
VariantPropertyTypepublic String toString()
toString in class ObjectObject.toString()public VariantProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.