@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 of UpdateEndpointInput set
to true
, the VariantProperty
objects listed in the
ExcludeRetainedVariantProperties
parameter of UpdateEndpointInput
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
InitialInstanceCount
values in the ProductionVariants
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
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
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the
InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
DataCaptureConfig
: (Not currently supported.)
VariantPropertyType
public 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
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
DataCaptureConfig
: (Not currently supported.)
DesiredInstanceCount
: Overrides the existing variant instance counts using the
InitialInstanceCount
values in the ProductionVariants
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the
InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
DataCaptureConfig
: (Not currently supported.)
VariantPropertyType
public 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
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
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
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the
InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
DataCaptureConfig
: (Not currently supported.)
VariantPropertyType
public 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
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
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
of CreateEndpointConfig.
DesiredWeight
: Overrides the existing variant weights using the
InitialVariantWeight
values in the ProductionVariants
of CreateEndpointConfig.
DataCaptureConfig
: (Not currently supported.)
VariantPropertyType
public String toString()
toString
in class Object
Object.toString()
public VariantProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.