|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.CreateAutoScalingGroupRequest
public class CreateAutoScalingGroupRequest
Container for the parameters to the CreateAutoScalingGroup operation
.
Creates a new Auto Scaling group with the specified name. Once the creation request is completed, the AutoScalingGroup is ready to be used in other calls.
NOTE: The client must not have already used up their entire quota of AutoScaling groups in order for this call to be successful.
AmazonAutoScaling.createAutoScalingGroup(CreateAutoScalingGroupRequest)
Constructor Summary | |
---|---|
CreateAutoScalingGroupRequest()
|
Method Summary | |
---|---|
String |
getAutoScalingGroupName()
The name of the Auto Scaling group. |
List<String> |
getAvailabilityZones()
A list of availability zones for the Auto Scaling group. |
Integer |
getCooldown()
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
String |
getLaunchConfigurationName()
The name of the launch configuration to use with the Auto Scaling group. |
List<String> |
getLoadBalancerNames()
A list of LoadBalancers to use. |
Integer |
getMaxSize()
The maximum size of the Auto Scaling group. |
Integer |
getMinSize()
The minimum size of the Auto Scaling group. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group. |
void |
setAvailabilityZones(Collection<String> availabilityZones)
A list of availability zones for the Auto Scaling group. |
void |
setCooldown(Integer cooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
void |
setLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration to use with the Auto Scaling group. |
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
A list of LoadBalancers to use. |
void |
setMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group. |
void |
setMinSize(Integer minSize)
The minimum size of the Auto Scaling group. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateAutoScalingGroupRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withAvailabilityZones(Collection<String> availabilityZones)
A list of availability zones for the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withAvailabilityZones(String... availabilityZones)
A list of availability zones for the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withCooldown(Integer cooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
CreateAutoScalingGroupRequest |
withLaunchConfigurationName(String launchConfigurationName)
The name of the launch configuration to use with the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withLoadBalancerNames(Collection<String> loadBalancerNames)
A list of LoadBalancers to use. |
CreateAutoScalingGroupRequest |
withLoadBalancerNames(String... loadBalancerNames)
A list of LoadBalancers to use. |
CreateAutoScalingGroupRequest |
withMaxSize(Integer maxSize)
The maximum size of the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withMinSize(Integer minSize)
The minimum size of the Auto Scaling group. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateAutoScalingGroupRequest()
Method Detail |
---|
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.public CreateAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.
public String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationName
- The name of the launch configuration to use with the Auto Scaling
group.public CreateAutoScalingGroupRequest withLaunchConfigurationName(String launchConfigurationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationName
- The name of the launch configuration to use with the Auto Scaling
group.
public Integer getMinSize()
public void setMinSize(Integer minSize)
minSize
- The minimum size of the Auto Scaling group.public CreateAutoScalingGroupRequest withMinSize(Integer minSize)
Returns a reference to this object so that method calls can be chained together.
minSize
- The minimum size of the Auto Scaling group.
public Integer getMaxSize()
public void setMaxSize(Integer maxSize)
maxSize
- The maximum size of the Auto Scaling group.public CreateAutoScalingGroupRequest withMaxSize(Integer maxSize)
Returns a reference to this object so that method calls can be chained together.
maxSize
- The maximum size of the Auto Scaling group.
public Integer getCooldown()
public void setCooldown(Integer cooldown)
cooldown
- The amount of time, in seconds, after a scaling activity completes
before any further trigger-related scaling activities can start.public CreateAutoScalingGroupRequest withCooldown(Integer cooldown)
Returns a reference to this object so that method calls can be chained together.
cooldown
- The amount of time, in seconds, after a scaling activity completes
before any further trigger-related scaling activities can start.
public List<String> getAvailabilityZones()
Constraints:
Length: 1 -
public void setAvailabilityZones(Collection<String> availabilityZones)
Constraints:
Length: 1 -
availabilityZones
- A list of availability zones for the Auto Scaling group.public CreateAutoScalingGroupRequest withAvailabilityZones(String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
availabilityZones
- A list of availability zones for the Auto Scaling group.
public CreateAutoScalingGroupRequest withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
availabilityZones
- A list of availability zones for the Auto Scaling group.
public List<String> getLoadBalancerNames()
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
loadBalancerNames
- A list of LoadBalancers to use.public CreateAutoScalingGroupRequest withLoadBalancerNames(String... loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- A list of LoadBalancers to use.
public CreateAutoScalingGroupRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- A list of LoadBalancers to use.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |