|
|||||||
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 and other attributes. 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 | |
---|---|
boolean |
equals(Object obj)
|
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 Amazon EC2 instances that should be running in the group. |
Integer |
getHealthCheckGracePeriod()
Length of time in seconds after a new Amazon 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 load balancers 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. |
List<Tag> |
getTags()
The tag to be created or updated. |
List<String> |
getTerminationPolicies()
A standalone termination policy or a list of termination policies used to select the instance to terminate. |
String |
getVPCZoneIdentifier()
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). |
int |
hashCode()
|
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 Amazon EC2 instances that should be running in the group. |
void |
setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
Length of time in seconds after a new Amazon 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 load balancers 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 |
setTags(Collection<Tag> tags)
The tag to be created or updated. |
void |
setTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies used to select the instance to terminate. |
void |
setVPCZoneIdentifier(String vPCZoneIdentifier)
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). |
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 Amazon EC2 instances that should be running in the group. |
CreateAutoScalingGroupRequest |
withHealthCheckGracePeriod(Integer healthCheckGracePeriod)
Length of time in seconds after a new Amazon 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 load balancers to use. |
CreateAutoScalingGroupRequest |
withLoadBalancerNames(String... loadBalancerNames)
A list of load balancers 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 |
withTags(Collection<Tag> tags)
The tag to be created or updated. |
CreateAutoScalingGroupRequest |
withTags(Tag... tags)
The tag to be created or updated. |
CreateAutoScalingGroupRequest |
withTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies used to select the instance to terminate. |
CreateAutoScalingGroupRequest |
withTerminationPolicies(String... terminationPolicies)
A standalone termination policy or a list of termination policies used to select the instance to terminate. |
CreateAutoScalingGroupRequest |
withVPCZoneIdentifier(String vPCZoneIdentifier)
A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, 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 Amazon 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 Amazon 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 load balancers 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 load balancers 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 load balancers to use.
public String getHealthCheckType()
EC2
or ELB
.
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
EC2
or ELB
.public void setHealthCheckType(String healthCheckType)
EC2
or ELB
.
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(String healthCheckType)
EC2
or ELB
.
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 Integer getHealthCheckGracePeriod()
public void setHealthCheckGracePeriod(Integer healthCheckGracePeriod)
healthCheckGracePeriod
- Length of time in seconds after a new Amazon 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 Amazon 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. For more information about cluster placement group, see Using
Cluster Instancespublic 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. For more information about cluster placement group, see Using
Cluster Instances
public String getVPCZoneIdentifier()
When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.
public void setVPCZoneIdentifier(String vPCZoneIdentifier)
When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
vPCZoneIdentifier
- A comma-separated list of subnet identifiers of Amazon Virtual Private
Clouds (Amazon VPCs). When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.
public CreateAutoScalingGroupRequest withVPCZoneIdentifier(String vPCZoneIdentifier)
When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
vPCZoneIdentifier
- A comma-separated list of subnet identifiers of Amazon Virtual Private
Clouds (Amazon VPCs). When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.
public List<String> getTerminationPolicies()
For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
public void setTerminationPolicies(Collection<String> terminationPolicies)
For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
terminationPolicies
- A standalone termination policy or a list of termination policies used
to select the instance to terminate. The policies are executed in the
order that they are listed. For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
public CreateAutoScalingGroupRequest withTerminationPolicies(String... terminationPolicies)
For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
Returns a reference to this object so that method calls can be chained together.
terminationPolicies
- A standalone termination policy or a list of termination policies used
to select the instance to terminate. The policies are executed in the
order that they are listed. For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
public CreateAutoScalingGroupRequest withTerminationPolicies(Collection<String> terminationPolicies)
For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
Returns a reference to this object so that method calls can be chained together.
terminationPolicies
- A standalone termination policy or a list of termination policies used
to select the instance to terminate. The policies are executed in the
order that they are listed. For more information on configuring a termination policy for your Auto Scaling group, go to Instance Termination Policy for Your Auto Scaling Group in the the Auto Scaling Developer Guide.
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The tag to be created or updated. Each tag should be defined by its
resource type, resource ID, key, value, and a propagate flag. Valid
values: key=value, value=value, propagate=true or
false. Value and propagate are optional parameters.public CreateAutoScalingGroupRequest withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The tag to be created or updated. Each tag should be defined by its
resource type, resource ID, key, value, and a propagate flag. Valid
values: key=value, value=value, propagate=true or
false. Value and propagate are optional parameters.
public CreateAutoScalingGroupRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The tag to be created or updated. Each tag should be defined by its
resource type, resource ID, key, value, and a propagate flag. Valid
values: key=value, value=value, propagate=true or
false. Value and propagate are optional parameters.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |