|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.autoscaling.model.AutoScalingGroup
public class AutoScalingGroup
The AutoScalingGroup data type.
Constructor Summary | |
---|---|
AutoScalingGroup()
|
Method Summary | |
---|---|
java.lang.String |
getAutoScalingGroupARN()
The Amazon Resource Name (ARN) of the Auto Scaling group. |
java.lang.String |
getAutoScalingGroupName()
Specifies the name of the group. |
java.util.List<java.lang.String> |
getAvailabilityZones()
Contains a list of availability zones for the group. |
java.util.Date |
getCreatedTime()
Specifies the date and time the Auto Scaling group was created. |
java.lang.Integer |
getDefaultCooldown()
The number of seconds after a scaling activity completes before any further scaling activities can start. |
java.lang.Integer |
getDesiredCapacity()
Specifies the desired capacity for the AutoScalingGroup. |
java.util.List<EnabledMetric> |
getEnabledMetrics()
A list of metrics enabled for this Auto Scaling group. |
java.lang.Integer |
getHealthCheckGracePeriod()
The length of time that Auto Scaling waits before checking an instance's health status. |
java.lang.String |
getHealthCheckType()
The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing. |
java.util.List<Instance> |
getInstances()
Provides a summary list of EC2 instances. |
java.lang.String |
getLaunchConfigurationName()
Specifies the name of the associated LaunchConfiguration. |
java.util.List<java.lang.String> |
getLoadBalancerNames()
A list of load balancers associated with this Auto Scaling group. |
java.lang.Integer |
getMaxSize()
Contains the maximum size of the AutoScalingGroup. |
java.lang.Integer |
getMinSize()
Contains the minimum size of the AutoScalingGroup. |
java.lang.String |
getPlacementGroup()
The name of the cluster placement group, if applicable. |
java.lang.String |
getStatus()
A list of status conditions for the Auto Scaling group. |
java.util.List<SuspendedProcess> |
getSuspendedProcesses()
Suspended processes associated with this Auto Scaling group. |
java.lang.String |
getVPCZoneIdentifier()
The identifier for the VPC connection, if applicable. |
void |
setAutoScalingGroupARN(java.lang.String autoScalingGroupARN)
The Amazon Resource Name (ARN) of the Auto Scaling group. |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Specifies the name of the group. |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Contains a list of availability zones for the group. |
void |
setCreatedTime(java.util.Date createdTime)
Specifies the date and time the Auto Scaling group was created. |
void |
setDefaultCooldown(java.lang.Integer defaultCooldown)
The number of seconds after a scaling activity completes before any further scaling activities can start. |
void |
setDesiredCapacity(java.lang.Integer desiredCapacity)
Specifies the desired capacity for the AutoScalingGroup. |
void |
setEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
A list of metrics enabled for this Auto Scaling group. |
void |
setHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
The length of time that Auto Scaling waits before checking an instance's health status. |
void |
setHealthCheckType(java.lang.String healthCheckType)
The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing. |
void |
setInstances(java.util.Collection<Instance> instances)
Provides a summary list of EC2 instances. |
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
Specifies the name of the associated LaunchConfiguration. |
void |
setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
A list of load balancers associated with this Auto Scaling group. |
void |
setMaxSize(java.lang.Integer maxSize)
Contains the maximum size of the AutoScalingGroup. |
void |
setMinSize(java.lang.Integer minSize)
Contains the minimum size of the AutoScalingGroup. |
void |
setPlacementGroup(java.lang.String placementGroup)
The name of the cluster placement group, if applicable. |
void |
setStatus(java.lang.String status)
A list of status conditions for the Auto Scaling group. |
void |
setSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
Suspended processes associated with this Auto Scaling group. |
void |
setVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
The identifier for the VPC connection, if applicable. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AutoScalingGroup |
withAutoScalingGroupARN(java.lang.String autoScalingGroupARN)
The Amazon Resource Name (ARN) of the Auto Scaling group. |
AutoScalingGroup |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
Specifies the name of the group. |
AutoScalingGroup |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Contains a list of availability zones for the group. |
AutoScalingGroup |
withAvailabilityZones(java.lang.String... availabilityZones)
Contains a list of availability zones for the group. |
AutoScalingGroup |
withCreatedTime(java.util.Date createdTime)
Specifies the date and time the Auto Scaling group was created. |
AutoScalingGroup |
withDefaultCooldown(java.lang.Integer defaultCooldown)
The number of seconds after a scaling activity completes before any further scaling activities can start. |
AutoScalingGroup |
withDesiredCapacity(java.lang.Integer desiredCapacity)
Specifies the desired capacity for the AutoScalingGroup. |
AutoScalingGroup |
withEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
A list of metrics enabled for this Auto Scaling group. |
AutoScalingGroup |
withEnabledMetrics(EnabledMetric... enabledMetrics)
A list of metrics enabled for this Auto Scaling group. |
AutoScalingGroup |
withHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
The length of time that Auto Scaling waits before checking an instance's health status. |
AutoScalingGroup |
withHealthCheckType(java.lang.String healthCheckType)
The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing. |
AutoScalingGroup |
withInstances(java.util.Collection<Instance> instances)
Provides a summary list of EC2 instances. |
AutoScalingGroup |
withInstances(Instance... instances)
Provides a summary list of EC2 instances. |
AutoScalingGroup |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
Specifies the name of the associated LaunchConfiguration. |
AutoScalingGroup |
withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
A list of load balancers associated with this Auto Scaling group. |
AutoScalingGroup |
withLoadBalancerNames(java.lang.String... loadBalancerNames)
A list of load balancers associated with this Auto Scaling group. |
AutoScalingGroup |
withMaxSize(java.lang.Integer maxSize)
Contains the maximum size of the AutoScalingGroup. |
AutoScalingGroup |
withMinSize(java.lang.Integer minSize)
Contains the minimum size of the AutoScalingGroup. |
AutoScalingGroup |
withPlacementGroup(java.lang.String placementGroup)
The name of the cluster placement group, if applicable. |
AutoScalingGroup |
withStatus(java.lang.String status)
A list of status conditions for the Auto Scaling group. |
AutoScalingGroup |
withSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
Suspended processes associated with this Auto Scaling group. |
AutoScalingGroup |
withSuspendedProcesses(SuspendedProcess... suspendedProcesses)
Suspended processes associated with this Auto Scaling group. |
AutoScalingGroup |
withVPCZoneIdentifier(java.lang.String vPCZoneIdentifier)
The identifier for the VPC connection, if applicable. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AutoScalingGroup()
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
- Specifies the name of the group.public AutoScalingGroup 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
- Specifies the name of the group.
public java.lang.String getAutoScalingGroupARN()
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupARN(java.lang.String autoScalingGroupARN)
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupARN
- The Amazon Resource Name (ARN) of the Auto Scaling group.public AutoScalingGroup withAutoScalingGroupARN(java.lang.String autoScalingGroupARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupARN
- The Amazon Resource Name (ARN) of the Auto Scaling group.
public java.lang.String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
launchConfigurationName
- Specifies the name of the associated LaunchConfiguration.public AutoScalingGroup withLaunchConfigurationName(java.lang.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
- Specifies the name of the associated LaunchConfiguration.
public java.lang.Integer getMinSize()
public void setMinSize(java.lang.Integer minSize)
minSize
- Contains the minimum size of the AutoScalingGroup.public AutoScalingGroup withMinSize(java.lang.Integer minSize)
Returns a reference to this object so that method calls can be chained together.
minSize
- Contains the minimum size of the AutoScalingGroup.
public java.lang.Integer getMaxSize()
public void setMaxSize(java.lang.Integer maxSize)
maxSize
- Contains the maximum size of the AutoScalingGroup.public AutoScalingGroup withMaxSize(java.lang.Integer maxSize)
Returns a reference to this object so that method calls can be chained together.
maxSize
- Contains the maximum size of the AutoScalingGroup.
public java.lang.Integer getDesiredCapacity()
public void setDesiredCapacity(java.lang.Integer desiredCapacity)
desiredCapacity
- Specifies the desired capacity for the AutoScalingGroup.public AutoScalingGroup withDesiredCapacity(java.lang.Integer desiredCapacity)
Returns a reference to this object so that method calls can be chained together.
desiredCapacity
- Specifies the desired capacity for the AutoScalingGroup.
public java.lang.Integer getDefaultCooldown()
public void setDefaultCooldown(java.lang.Integer defaultCooldown)
defaultCooldown
- The number of seconds after a scaling activity completes before any
further scaling activities can start.public AutoScalingGroup withDefaultCooldown(java.lang.Integer defaultCooldown)
Returns a reference to this object so that method calls can be chained together.
defaultCooldown
- The number of seconds after a scaling activity completes before any
further 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
- Contains a list of availability zones for the group.public AutoScalingGroup withAvailabilityZones(java.lang.String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
availabilityZones
- Contains a list of availability zones for the group.
public AutoScalingGroup 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
- Contains a list of availability zones for the group.
public java.util.List<java.lang.String> getLoadBalancerNames()
public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
loadBalancerNames
- A list of load balancers associated with this Auto Scaling group.public AutoScalingGroup withLoadBalancerNames(java.lang.String... loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- A list of load balancers associated with this Auto Scaling group.
public AutoScalingGroup 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 load balancers associated with this Auto Scaling group.
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 of interest for the health status check, either "EC2" for
Amazon EC2 or "ELB" for Elastic Load Balancing.public AutoScalingGroup 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 of interest for the health status check, either "EC2" for
Amazon EC2 or "ELB" for Elastic Load Balancing.
public java.lang.Integer getHealthCheckGracePeriod()
public void setHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
healthCheckGracePeriod
- The length of time that Auto Scaling waits before checking an
instance's health status. The grace period begins when an instance
comes into service.public AutoScalingGroup withHealthCheckGracePeriod(java.lang.Integer healthCheckGracePeriod)
Returns a reference to this object so that method calls can be chained together.
healthCheckGracePeriod
- The length of time that Auto Scaling waits before checking an
instance's health status. The grace period begins when an instance
comes into service.
public java.util.List<Instance> getInstances()
public void setInstances(java.util.Collection<Instance> instances)
instances
- Provides a summary list of EC2 instances.public AutoScalingGroup withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- Provides a summary list of EC2 instances.
public AutoScalingGroup withInstances(java.util.Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- Provides a summary list of EC2 instances.
public java.util.Date getCreatedTime()
public void setCreatedTime(java.util.Date createdTime)
createdTime
- Specifies the date and time the Auto Scaling group was created.public AutoScalingGroup withCreatedTime(java.util.Date createdTime)
Returns a reference to this object so that method calls can be chained together.
createdTime
- Specifies the date and time the Auto Scaling group was created.
public java.util.List<SuspendedProcess> getSuspendedProcesses()
public void setSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
suspendedProcesses
- Suspended processes associated with this Auto Scaling group.public AutoScalingGroup withSuspendedProcesses(SuspendedProcess... suspendedProcesses)
Returns a reference to this object so that method calls can be chained together.
suspendedProcesses
- Suspended processes associated with this Auto Scaling group.
public AutoScalingGroup withSuspendedProcesses(java.util.Collection<SuspendedProcess> suspendedProcesses)
Returns a reference to this object so that method calls can be chained together.
suspendedProcesses
- Suspended processes associated with this Auto Scaling group.
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
- The name of the cluster placement group, if applicable. For more
information, go to
Using Cluster Instances in the Amazon EC2 User Guide.public AutoScalingGroup 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
- The name of the cluster placement group, if applicable. For more
information, go to
Using Cluster Instances in the Amazon EC2 User Guide.
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 identifier for the VPC connection, if applicable.public AutoScalingGroup 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 identifier for the VPC connection, if applicable.
public java.util.List<EnabledMetric> getEnabledMetrics()
public void setEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
enabledMetrics
- A list of metrics enabled for this Auto Scaling group.public AutoScalingGroup withEnabledMetrics(EnabledMetric... enabledMetrics)
Returns a reference to this object so that method calls can be chained together.
enabledMetrics
- A list of metrics enabled for this Auto Scaling group.
public AutoScalingGroup withEnabledMetrics(java.util.Collection<EnabledMetric> enabledMetrics)
Returns a reference to this object so that method calls can be chained together.
enabledMetrics
- A list of metrics enabled for this Auto Scaling group.
public java.lang.String getStatus()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setStatus(java.lang.String status)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
status
- A list of status conditions for the Auto Scaling group.public AutoScalingGroup withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
status
- A list of status conditions for the Auto Scaling group.
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 |