@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HighAvailabilityConfig extends Object implements Serializable, Cloneable, StructuredPojo
Defines the details of a high availability configuration.
| Constructor and Description |
|---|
HighAvailabilityConfig() |
| Modifier and Type | Method and Description |
|---|---|
HighAvailabilityConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredCapacity()
The number of instances in a high availability configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDesiredCapacity(Integer desiredCapacity)
The number of instances in a high availability configuration.
|
String |
toString()
Returns a string representation of this object.
|
HighAvailabilityConfig |
withDesiredCapacity(Integer desiredCapacity)
The number of instances in a high availability configuration.
|
public void setDesiredCapacity(Integer desiredCapacity)
The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
desiredCapacity - The number of instances in a high availability configuration. The minimum possible value is 1 and the
maximum is 100.public Integer getDesiredCapacity()
The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
public HighAvailabilityConfig withDesiredCapacity(Integer desiredCapacity)
The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
desiredCapacity - The number of instances in a high availability configuration. The minimum possible value is 1 and the
maximum is 100.public String toString()
toString in class ObjectObject.toString()public HighAvailabilityConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.