|
|||||||
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. When the creation request is completed, the Auto Scaling group 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 | |
---|---|
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group. |
java.util.List<java.lang.String> |
getAvailabilityZones()
A list of availability zones for the Auto Scaling group. |
java.lang.Integer |
getDefaultCooldown()
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
java.lang.Integer |
getDesiredCapacity()
The number of EC2 instances that should be running in the group. |
java.lang.Integer |
getHealthCheckGracePeriod()
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health. |
java.lang.String |
getHealthCheckType()
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. |
java.lang.String |
getLaunchConfigurationName()
The name of the launch configuration to use with the Auto Scaling group. |
java.util.List<java.lang.String> |
getLoadBalancerNames()
A list of LoadBalancers to use. |
java.lang.Integer |
getMaxSize()
The maximum size of the Auto Scaling group. |
java.lang.Integer |
getMinSize()
The minimum size of the Auto Scaling group. |
java.lang.String |
getPlacementGroup()
Physical location of your cluster placement group created in Amazon EC2. |
java.lang.String |
getVPCZoneIdentifier()
The subnet identifier of the Virtual Private Cloud. |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group. |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of availability zones for the Auto Scaling group. |
void |
setDefaultCooldown(java.lang.Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
void |
setDesiredCapacity(java.lang.Integer desiredCapacity)
The number of EC2 instances that should be running in the group. |
void |
setHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health. |
void |
setHealthCheckType(java.lang.String healthCheckType)
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. |
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration to use with the Auto Scaling group. |
void |
setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
A list of LoadBalancers to use. |
void |
setMaxSize(java.lang.Integer maxSize)
The maximum size of the Auto Scaling group. |
void |
setMinSize(java.lang.Integer minSize)
The minimum size of the Auto Scaling group. |
void |
setPlacementGroup(java.lang.String placementGroup)
Physical location of your cluster placement group created in Amazon EC2. |
void |
setVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
The subnet identifier of the Virtual Private Cloud. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateAutoScalingGroupRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of availability zones for the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withAvailabilityZones(java.lang.String... availabilityZones)
A list of availability zones for the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withDefaultCooldown(java.lang.Integer defaultCooldown)
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. |
CreateAutoScalingGroupRequest |
withDesiredCapacity(java.lang.Integer desiredCapacity)
The number of EC2 instances that should be running in the group. |
CreateAutoScalingGroupRequest |
withHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health. |
CreateAutoScalingGroupRequest |
withHealthCheckType(java.lang.String healthCheckType)
The service you want the health status from, Amazon EC2 or Elastic Load Balancer. |
CreateAutoScalingGroupRequest |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
The name of the launch configuration to use with the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
A list of LoadBalancers to use. |
CreateAutoScalingGroupRequest |
withLoadBalancerNames(java.lang.String... loadBalancerNames)
A list of LoadBalancers to use. |
CreateAutoScalingGroupRequest |
withMaxSize(java.lang.Integer maxSize)
The maximum size of the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withMinSize(java.lang.Integer minSize)
The minimum size of the Auto Scaling group. |
CreateAutoScalingGroupRequest |
withPlacementGroup(java.lang.String placementGroup)
Physical location of your cluster placement group created in Amazon EC2. |
CreateAutoScalingGroupRequest |
withVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
The subnet identifier of the Virtual Private Cloud. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateAutoScalingGroupRequest()
Method Detail |
---|
public java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.public CreateAutoScalingGroupRequest withAutoScalingGroupName(java.lang.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 java.lang.String getLaunchConfigurationName()
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(java.lang.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(java.lang.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 java.lang.Integer getMinSize()
public void setMinSize(java.lang.Integer minSize)
minSize
- The minimum size of the Auto Scaling group.public CreateAutoScalingGroupRequest withMinSize(java.lang.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 java.lang.Integer getMaxSize()
public void setMaxSize(java.lang.Integer maxSize)
maxSize
- The maximum size of the Auto Scaling group.public CreateAutoScalingGroupRequest withMaxSize(java.lang.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 java.lang.Integer getDesiredCapacity()
public void setDesiredCapacity(java.lang.Integer desiredCapacity)
desiredCapacity
- The number of EC2 instances that should be running in the group.public CreateAutoScalingGroupRequest withDesiredCapacity(java.lang.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 java.lang.Integer getDefaultCooldown()
public void setDefaultCooldown(java.lang.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(java.lang.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 java.util.List<java.lang.String> getAvailabilityZones()
Constraints:
Length: 1 -
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Constraints:
Length: 1 -
availabilityZones
- A list of availability zones for the Auto Scaling group.public CreateAutoScalingGroupRequest withAvailabilityZones(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.String> getLoadBalancerNames()
public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
loadBalancerNames
- A list of LoadBalancers to use.public CreateAutoScalingGroupRequest withLoadBalancerNames(java.lang.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(java.util.Collection<java.lang.String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- A list of LoadBalancers to use.
public java.lang.String getHealthCheckType()
Constraints:
Length: 1 - 32
Pattern: [ -??-??-?\r\n\t]*
public void setHealthCheckType(java.lang.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. Valid values are "EC2" or "ELB."public CreateAutoScalingGroupRequest withHealthCheckType(java.lang.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. Valid values are "EC2" or "ELB."
public java.lang.Integer getHealthCheckGracePeriod()
public void setHealthCheckGracePeriod(java.lang.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(java.lang.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 java.lang.String getPlacementGroup()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setPlacementGroup(java.lang.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(java.lang.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 java.lang.String getVPCZoneIdentifier()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
vPCZoneIdentifier
- The subnet identifier of the Virtual Private Cloud.public CreateAutoScalingGroupRequest withVPCZoneIdentifier(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |