|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
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 Auto Scaling group. |
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 Amazon 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 Auto Scaling group. |
Integer |
getMinSize()
Contains the minimum size of the Auto Scaling group. |
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. |
List<TagDescription> |
getTags()
A list of tags for the Auto Scaling group. |
List<String> |
getTerminationPolicies()
A standalone termination policy or a list of termination policies for this Auto Scaling group. |
String |
getVPCZoneIdentifier()
The subnet identifier for the Amazon VPC connection, if applicable. |
int |
hashCode()
|
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 Auto Scaling group. |
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 Amazon 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 Auto Scaling group. |
void |
setMinSize(Integer minSize)
Contains the minimum size of the Auto Scaling group. |
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 |
setTags(Collection<TagDescription> tags)
A list of tags for the Auto Scaling group. |
void |
setTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies for this Auto Scaling group. |
void |
setVPCZoneIdentifier(String vPCZoneIdentifier)
The subnet identifier for the Amazon 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 Auto Scaling group. |
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 Amazon EC2 instances. |
AutoScalingGroup |
withInstances(Instance... instances)
Provides a summary list of Amazon 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 Auto Scaling group. |
AutoScalingGroup |
withMinSize(Integer minSize)
Contains the minimum size of the Auto Scaling group. |
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 |
withTags(Collection<TagDescription> tags)
A list of tags for the Auto Scaling group. |
AutoScalingGroup |
withTags(TagDescription... tags)
A list of tags for the Auto Scaling group. |
AutoScalingGroup |
withTerminationPolicies(Collection<String> terminationPolicies)
A standalone termination policy or a list of termination policies for this Auto Scaling group. |
AutoScalingGroup |
withTerminationPolicies(String... terminationPolicies)
A standalone termination policy or a list of termination policies for this Auto Scaling group. |
AutoScalingGroup |
withVPCZoneIdentifier(String vPCZoneIdentifier)
The subnet identifier for the Amazon VPC connection, if applicable. |
Methods inherited from class java.lang.Object |
---|
getClass, 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 Auto Scaling group.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 Auto Scaling group.
public Integer getMaxSize()
public void setMaxSize(Integer maxSize)
maxSize
- Contains the maximum size of the Auto Scaling group.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 Auto Scaling group.
public Integer getDesiredCapacity()
public void setDesiredCapacity(Integer desiredCapacity)
desiredCapacity
- Specifies the desired capacity for the Auto Scaling group.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 Auto Scaling group.
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 Amazon 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 Amazon 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 Amazon 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()
When
you specify VPCZoneIdentifier
with
AvailabilityZones
, ensure that the subnets' Availability
Zones match the values you specify for AvailabilityZones
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
When
you specify VPCZoneIdentifier
with
AvailabilityZones
, ensure that the subnets' Availability
Zones match the values you specify for AvailabilityZones
.
public void setVPCZoneIdentifier(String vPCZoneIdentifier)
When
you specify VPCZoneIdentifier
with
AvailabilityZones
, ensure that the subnets' Availability
Zones match the values you specify for AvailabilityZones
.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
vPCZoneIdentifier
- The subnet identifier for the Amazon VPC connection, if applicable.
You can specify several subnets in a comma-separated list. When
you specify VPCZoneIdentifier
with
AvailabilityZones
, ensure that the subnets' Availability
Zones match the values you specify for AvailabilityZones
.
public AutoScalingGroup withVPCZoneIdentifier(String vPCZoneIdentifier)
When
you specify VPCZoneIdentifier
with
AvailabilityZones
, ensure that the subnets' Availability
Zones match the values you specify for AvailabilityZones
.
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 for the Amazon VPC connection, if applicable.
You can specify several subnets in a comma-separated list. When
you specify VPCZoneIdentifier
with
AvailabilityZones
, ensure that the subnets' Availability
Zones match the values you specify for AvailabilityZones
.
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 List<TagDescription> getTags()
public void setTags(Collection<TagDescription> tags)
tags
- A list of tags for the Auto Scaling group.public AutoScalingGroup withTags(TagDescription... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the Auto Scaling group.
public AutoScalingGroup withTags(Collection<TagDescription> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the Auto Scaling group.
public List<String> getTerminationPolicies()
public void setTerminationPolicies(Collection<String> terminationPolicies)
terminationPolicies
- A standalone termination policy or a list of termination policies for
this Auto Scaling group.public AutoScalingGroup withTerminationPolicies(String... terminationPolicies)
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 for
this Auto Scaling group.
public AutoScalingGroup withTerminationPolicies(Collection<String> terminationPolicies)
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 for
this Auto Scaling group.
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 |