@Generated(value="software.amazon.awssdk:codegen") public final class VariantProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VariantProperty.Builder,VariantProperty>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VariantProperty.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VariantProperty.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VariantProperty.Builder> |
serializableBuilderClass() |
VariantProperty.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VariantPropertyType |
variantPropertyType()
The type of variant property.
|
String |
variantPropertyTypeAsString()
The type of variant property.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.)
If the service returns an enum value that is not available in the current SDK version,
variantPropertyType will return VariantPropertyType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from variantPropertyTypeAsString().
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 variantPropertyTypeAsString()
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.)
If the service returns an enum value that is not available in the current SDK version,
variantPropertyType will return VariantPropertyType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from variantPropertyTypeAsString().
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VariantProperty.Builder,VariantProperty>public static VariantProperty.Builder builder()
public static Class<? extends VariantProperty.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.