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