@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DesiredWeightAndCapacity extends Object implements Serializable, Cloneable, StructuredPojo
Specifies weight and capacity values for a production variant.
| Constructor and Description |
|---|
DesiredWeightAndCapacity() |
| Modifier and Type | Method and Description |
|---|---|
DesiredWeightAndCapacity |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredInstanceCount()
The variant's capacity.
|
Float |
getDesiredWeight()
The variant's weight.
|
String |
getVariantName()
The name of the variant to update.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDesiredInstanceCount(Integer desiredInstanceCount)
The variant's capacity.
|
void |
setDesiredWeight(Float desiredWeight)
The variant's weight.
|
void |
setVariantName(String variantName)
The name of the variant to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DesiredWeightAndCapacity |
withDesiredInstanceCount(Integer desiredInstanceCount)
The variant's capacity.
|
DesiredWeightAndCapacity |
withDesiredWeight(Float desiredWeight)
The variant's weight.
|
DesiredWeightAndCapacity |
withVariantName(String variantName)
The name of the variant to update.
|
public void setVariantName(String variantName)
The name of the variant to update.
variantName - The name of the variant to update.public String getVariantName()
The name of the variant to update.
public DesiredWeightAndCapacity withVariantName(String variantName)
The name of the variant to update.
variantName - The name of the variant to update.public void setDesiredWeight(Float desiredWeight)
The variant's weight.
desiredWeight - The variant's weight.public Float getDesiredWeight()
The variant's weight.
public DesiredWeightAndCapacity withDesiredWeight(Float desiredWeight)
The variant's weight.
desiredWeight - The variant's weight.public void setDesiredInstanceCount(Integer desiredInstanceCount)
The variant's capacity.
desiredInstanceCount - The variant's capacity.public Integer getDesiredInstanceCount()
The variant's capacity.
public DesiredWeightAndCapacity withDesiredInstanceCount(Integer desiredInstanceCount)
The variant's capacity.
desiredInstanceCount - The variant's capacity.public String toString()
toString in class ObjectObject.toString()public DesiredWeightAndCapacity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.