@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.
desiredCapacity
- The number of instances in a high availability configuration.public Integer getDesiredCapacity()
The number of instances in a high availability configuration.
public HighAvailabilityConfig withDesiredCapacity(Integer desiredCapacity)
The number of instances in a high availability configuration.
desiredCapacity
- The number of instances in a high availability configuration.public String toString()
toString
in class Object
Object.toString()
public HighAvailabilityConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.