@Generated(value="software.amazon.awssdk:codegen") public final class DesiredWeightAndCapacity extends Object implements StructuredPojo, 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) |
<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 DesiredWeightAndCapacity.Builder> |
serializableBuilderClass() |
DesiredWeightAndCapacity.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 to update.
|
copy
public String variantName()
The name of the variant to update.
public Float desiredWeight()
The variant's weight.
public Integer desiredInstanceCount()
The variant's capacity.
public DesiredWeightAndCapacity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DesiredWeightAndCapacity.Builder,DesiredWeightAndCapacity>
public static DesiredWeightAndCapacity.Builder builder()
public static Class<? extends DesiredWeightAndCapacity.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.