@Generated(value="software.amazon.awssdk:codegen") public class ProductionVariantSummary extends Object implements StructuredPojo, ToCopyableBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>
Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the
UpdateWeightAndCapacities API and the endpoint status is Updating, you get different
desired and current values.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProductionVariantSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProductionVariantSummary.Builder |
builder() |
Integer |
currentInstanceCount()
The number of instances associated with the variant.
|
Float |
currentWeight()
The weight associated with the variant.
|
Integer |
desiredInstanceCount()
The number of instances requested in the
UpdateWeightAndCapacities request. |
Float |
desiredWeight()
The requested weight, as specified in the
UpdateWeightAndCapacities request. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends ProductionVariantSummary.Builder> |
serializableBuilderClass() |
ProductionVariantSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
variantName()
The name of the variant.
|
copypublic String variantName()
The name of the variant.
public Float currentWeight()
The weight associated with the variant.
public Float desiredWeight()
The requested weight, as specified in the UpdateWeightAndCapacities request.
UpdateWeightAndCapacities request.public Integer currentInstanceCount()
The number of instances associated with the variant.
public Integer desiredInstanceCount()
The number of instances requested in the UpdateWeightAndCapacities request.
UpdateWeightAndCapacities request.public ProductionVariantSummary.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>public static ProductionVariantSummary.Builder builder()
public static Class<? extends ProductionVariantSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.