@Generated(value="software.amazon.awssdk:codegen") public final class ProductionVariantSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>
Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the
UpdateEndpointWeightsAndCapacities 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.
|
List<DeployedImage> |
deployedImages()
An array of
DeployedImage objects that specify the Amazon EC2 Container Registry paths of the
inference images deployed on instances of this ProductionVariant. |
Integer |
desiredInstanceCount()
The number of instances requested in the
UpdateEndpointWeightsAndCapacities request. |
Float |
desiredWeight()
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacities request. |
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 ProductionVariantSummary.Builder> |
serializableBuilderClass() |
ProductionVariantSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
variantName()
The name of the variant.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String variantName()
The name of the variant.
public List<DeployedImage> deployedImages()
An array of DeployedImage objects that specify the Amazon EC2 Container Registry paths of the
inference images deployed on instances of this ProductionVariant.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
DeployedImage objects that specify the Amazon EC2 Container Registry paths of
the inference images deployed on instances of this ProductionVariant.public Float currentWeight()
The weight associated with the variant.
public Float desiredWeight()
The requested weight, as specified in the UpdateEndpointWeightsAndCapacities request.
UpdateEndpointWeightsAndCapacities request.public Integer currentInstanceCount()
The number of instances associated with the variant.
public Integer desiredInstanceCount()
The number of instances requested in the UpdateEndpointWeightsAndCapacities request.
UpdateEndpointWeightsAndCapacities request.public ProductionVariantSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProductionVariantSummary.Builder,ProductionVariantSummary>public static ProductionVariantSummary.Builder builder()
public static Class<? extends ProductionVariantSummary.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.