|
|||||||
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 Auto Scaling group name must be unique within the scope of your AWS account, and under the quota of Auto Scaling groups allowed for your account.
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 |
getDefaultCooldown()
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
Integer |
getDesiredCapacity()
The number of EC2 instances that should be running in the group. |
Integer |
getHealthCheckGracePeriod()
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health. |
String |
getHealthCheckType()
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. |
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. |
String |
getPlacementGroup()
Physical location of your cluster placement group created in Amazon EC2. |
String |
getVPCZoneIdentifier()
The subnet identifier of the Virtual Private Cloud. |
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 |
setDefaultCooldown(Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
void |
setDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group. |
void |
setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health. |
void |
setHealthCheckType(String healthCheckType)
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. |
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. |
void |
setPlacementGroup(String placementGroup)
Physical location of your cluster placement group created in Amazon EC2. |
void |
setVPCZoneIdentifier(String vPCZoneIdentifier)
The subnet identifier of the Virtual Private Cloud. |
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 |
withDefaultCooldown(Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
CreateAutoScalingGroupRequest |
withDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the group. |
CreateAutoScalingGroupRequest |
withHealthCheckGracePeriod(Integer healthCheckGracePeriod)
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health. |
CreateAutoScalingGroupRequest |
withHealthCheckType(String healthCheckType)
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. |
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. |
CreateAutoScalingGroupRequest |
withPlacementGroup(String placementGroup)
Physical location of your cluster placement group created in Amazon EC2. |
CreateAutoScalingGroupRequest |
withVPCZoneIdentifier(String vPCZoneIdentifier)
The subnet identifier of the Virtual Private Cloud. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials |
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 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 255
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 - 255
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.
public String getLaunchConfigurationName()
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(String launchConfigurationName)
Constraints:
Length: 1 - 1600
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 - 1600
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 getDesiredCapacity()
public void setDesiredCapacity(Integer desiredCapacity)
desiredCapacity
- The number of EC2 instances that should be running in the group.public CreateAutoScalingGroupRequest withDesiredCapacity(Integer desiredCapacity)
Returns a reference to this object so that method calls can be chained together.
desiredCapacity
- The number of EC2 instances that should be running in the group.
public Integer getDefaultCooldown()
public void setDefaultCooldown(Integer defaultCooldown)
defaultCooldown
- The amount of time, in seconds, after a scaling activity completes
before any further trigger-related scaling activities can start.public CreateAutoScalingGroupRequest withDefaultCooldown(Integer defaultCooldown)
Returns a reference to this object so that method calls can be chained together.
defaultCooldown
- 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 getHealthCheckType()
Constraints:
Length: 1 - 32
Pattern: [ -??-??-?\r\n\t]*
public void setHealthCheckType(String healthCheckType)
Constraints:
Length: 1 - 32
Pattern: [ -??-??-?\r\n\t]*
healthCheckType
- The service you want the health status from, Amazon EC2 or Elastic
Load Balancer.public CreateAutoScalingGroupRequest withHealthCheckType(String healthCheckType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [ -??-??-?\r\n\t]*
healthCheckType
- The service you want the health status from, Amazon EC2 or Elastic
Load Balancer.
public Integer getHealthCheckGracePeriod()
public void setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
healthCheckGracePeriod
- Length of time in seconds after a new EC2 instance comes into service
that Auto Scaling starts checking its health.public CreateAutoScalingGroupRequest withHealthCheckGracePeriod(Integer healthCheckGracePeriod)
Returns a reference to this object so that method calls can be chained together.
healthCheckGracePeriod
- Length of time in seconds after a new EC2 instance comes into service
that Auto Scaling starts checking its health.
public String getPlacementGroup()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setPlacementGroup(String placementGroup)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
placementGroup
- Physical location of your cluster placement group created in Amazon
EC2.public CreateAutoScalingGroupRequest withPlacementGroup(String placementGroup)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
placementGroup
- Physical location of your cluster placement group created in Amazon
EC2.
public String getVPCZoneIdentifier()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setVPCZoneIdentifier(String vPCZoneIdentifier)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
vPCZoneIdentifier
- The subnet identifier of the Virtual Private Cloud.public CreateAutoScalingGroupRequest withVPCZoneIdentifier(String vPCZoneIdentifier)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
vPCZoneIdentifier
- The subnet identifier of the Virtual Private Cloud.
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 |