@Generated(value="software.amazon.awssdk:codegen") public final class DesiredWeightAndCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>
Specifies weight and capacity values for a production variant.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DesiredWeightAndCapacity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DesiredWeightAndCapacity.Builder |
builder() |
Integer |
desiredInstanceCount()
The variant's capacity.
|
Float |
desiredWeight()
The variant's weight.
|
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 DesiredWeightAndCapacity.Builder> |
serializableBuilderClass() |
ProductionVariantServerlessUpdateConfig |
serverlessUpdateConfig()
Specifies the serverless update concurrency configuration for an endpoint variant.
|
DesiredWeightAndCapacity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
variantName()
The name of the variant to update.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String variantName()
The name of the variant to update.
public final Float desiredWeight()
The variant's weight.
public final Integer desiredInstanceCount()
The variant's capacity.
public final ProductionVariantServerlessUpdateConfig serverlessUpdateConfig()
Specifies the serverless update concurrency configuration for an endpoint variant.
public DesiredWeightAndCapacity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>public static DesiredWeightAndCapacity.Builder builder()
public static Class<? extends DesiredWeightAndCapacity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.