@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroupConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of an Auto Scaling group.
Constructor and Description |
---|
AutoScalingGroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroupConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredCapacity()
The desired capacity, or number of instances, for the Auto Scaling group.
|
String |
getInstanceType()
The instance type for the Auto Scaling group.
|
Integer |
getMaxSize()
The maximum size, or maximum number of instances, for the Auto Scaling group.
|
Integer |
getMinSize()
The minimum size, or minimum number of instances, for the Auto Scaling group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDesiredCapacity(Integer desiredCapacity)
The desired capacity, or number of instances, for the Auto Scaling group.
|
void |
setInstanceType(String instanceType)
The instance type for the Auto Scaling group.
|
void |
setMaxSize(Integer maxSize)
The maximum size, or maximum number of instances, for the Auto Scaling group.
|
void |
setMinSize(Integer minSize)
The minimum size, or minimum number of instances, for the Auto Scaling group.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingGroupConfiguration |
withDesiredCapacity(Integer desiredCapacity)
The desired capacity, or number of instances, for the Auto Scaling group.
|
AutoScalingGroupConfiguration |
withInstanceType(String instanceType)
The instance type for the Auto Scaling group.
|
AutoScalingGroupConfiguration |
withMaxSize(Integer maxSize)
The maximum size, or maximum number of instances, for the Auto Scaling group.
|
AutoScalingGroupConfiguration |
withMinSize(Integer minSize)
The minimum size, or minimum number of instances, for the Auto Scaling group.
|
public void setDesiredCapacity(Integer desiredCapacity)
The desired capacity, or number of instances, for the Auto Scaling group.
desiredCapacity
- The desired capacity, or number of instances, for the Auto Scaling group.public Integer getDesiredCapacity()
The desired capacity, or number of instances, for the Auto Scaling group.
public AutoScalingGroupConfiguration withDesiredCapacity(Integer desiredCapacity)
The desired capacity, or number of instances, for the Auto Scaling group.
desiredCapacity
- The desired capacity, or number of instances, for the Auto Scaling group.public void setMinSize(Integer minSize)
The minimum size, or minimum number of instances, for the Auto Scaling group.
minSize
- The minimum size, or minimum number of instances, for the Auto Scaling group.public Integer getMinSize()
The minimum size, or minimum number of instances, for the Auto Scaling group.
public AutoScalingGroupConfiguration withMinSize(Integer minSize)
The minimum size, or minimum number of instances, for the Auto Scaling group.
minSize
- The minimum size, or minimum number of instances, for the Auto Scaling group.public void setMaxSize(Integer maxSize)
The maximum size, or maximum number of instances, for the Auto Scaling group.
maxSize
- The maximum size, or maximum number of instances, for the Auto Scaling group.public Integer getMaxSize()
The maximum size, or maximum number of instances, for the Auto Scaling group.
public AutoScalingGroupConfiguration withMaxSize(Integer maxSize)
The maximum size, or maximum number of instances, for the Auto Scaling group.
maxSize
- The maximum size, or maximum number of instances, for the Auto Scaling group.public void setInstanceType(String instanceType)
The instance type for the Auto Scaling group.
instanceType
- The instance type for the Auto Scaling group.public String getInstanceType()
The instance type for the Auto Scaling group.
public AutoScalingGroupConfiguration withInstanceType(String instanceType)
The instance type for the Auto Scaling group.
instanceType
- The instance type for the Auto Scaling group.public String toString()
toString
in class Object
Object.toString()
public AutoScalingGroupConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.