@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 UpdateEndpointInput$RetainAllVariantProperties option set to
true, the VariantProperty objects listed in
UpdateEndpointInput$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 final 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.)
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
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 final String variantPropertyTypeAsString()
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.)
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
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VariantProperty.Builder,VariantProperty>public static VariantProperty.Builder builder()
public static Class<? extends VariantProperty.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.