Class EnvironmentResourceDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the AWS resources in use by this environment. This data is live.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
TheAutoScalingGroups
used by this environment.The name of the environment.The Amazon EC2 instances used by this environment.The Auto Scaling launch configurations in use by this environment.The LoadBalancers in use by this environment.The queues used by this environment.TheAutoScaling
triggers in use by this environment.int
hashCode()
void
setAutoScalingGroups
(Collection<AutoScalingGroup> autoScalingGroups) TheAutoScalingGroups
used by this environment.void
setEnvironmentName
(String environmentName) The name of the environment.void
setInstances
(Collection<Instance> instances) The Amazon EC2 instances used by this environment.void
setLaunchConfigurations
(Collection<LaunchConfiguration> launchConfigurations) The Auto Scaling launch configurations in use by this environment.void
setLoadBalancers
(Collection<LoadBalancer> loadBalancers) The LoadBalancers in use by this environment.void
setQueues
(Collection<Queue> queues) The queues used by this environment.void
setTriggers
(Collection<Trigger> triggers) TheAutoScaling
triggers in use by this environment.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoScalingGroups
(AutoScalingGroup... autoScalingGroups) TheAutoScalingGroups
used by this environment.withAutoScalingGroups
(Collection<AutoScalingGroup> autoScalingGroups) TheAutoScalingGroups
used by this environment.withEnvironmentName
(String environmentName) The name of the environment.withInstances
(Instance... instances) The Amazon EC2 instances used by this environment.withInstances
(Collection<Instance> instances) The Amazon EC2 instances used by this environment.withLaunchConfigurations
(LaunchConfiguration... launchConfigurations) The Auto Scaling launch configurations in use by this environment.withLaunchConfigurations
(Collection<LaunchConfiguration> launchConfigurations) The Auto Scaling launch configurations in use by this environment.withLoadBalancers
(LoadBalancer... loadBalancers) The LoadBalancers in use by this environment.withLoadBalancers
(Collection<LoadBalancer> loadBalancers) The LoadBalancers in use by this environment.withQueues
(Queue... queues) The queues used by this environment.withQueues
(Collection<Queue> queues) The queues used by this environment.withTriggers
(Trigger... triggers) TheAutoScaling
triggers in use by this environment.withTriggers
(Collection<Trigger> triggers) TheAutoScaling
triggers in use by this environment.
-
Constructor Details
-
EnvironmentResourceDescription
public EnvironmentResourceDescription()
-
-
Method Details
-
setEnvironmentName
The name of the environment.
- Parameters:
environmentName
- The name of the environment.
-
getEnvironmentName
The name of the environment.
- Returns:
- The name of the environment.
-
withEnvironmentName
The name of the environment.
- Parameters:
environmentName
- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAutoScalingGroups
The
AutoScalingGroups
used by this environment.- Returns:
- The
AutoScalingGroups
used by this environment.
-
setAutoScalingGroups
The
AutoScalingGroups
used by this environment.- Parameters:
autoScalingGroups
- TheAutoScalingGroups
used by this environment.
-
withAutoScalingGroups
The
AutoScalingGroups
used by this environment.NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroups(java.util.Collection)
orwithAutoScalingGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
autoScalingGroups
- TheAutoScalingGroups
used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAutoScalingGroups
public EnvironmentResourceDescription withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups) The
AutoScalingGroups
used by this environment.- Parameters:
autoScalingGroups
- TheAutoScalingGroups
used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInstances
The Amazon EC2 instances used by this environment.
- Returns:
- The Amazon EC2 instances used by this environment.
-
setInstances
The Amazon EC2 instances used by this environment.
- Parameters:
instances
- The Amazon EC2 instances used by this environment.
-
withInstances
The Amazon EC2 instances used by this environment.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
orwithInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
instances
- The Amazon EC2 instances used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstances
The Amazon EC2 instances used by this environment.
- Parameters:
instances
- The Amazon EC2 instances used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLaunchConfigurations
The Auto Scaling launch configurations in use by this environment.
- Returns:
- The Auto Scaling launch configurations in use by this environment.
-
setLaunchConfigurations
The Auto Scaling launch configurations in use by this environment.
- Parameters:
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.
-
withLaunchConfigurations
public EnvironmentResourceDescription withLaunchConfigurations(LaunchConfiguration... launchConfigurations) The Auto Scaling launch configurations in use by this environment.
NOTE: This method appends the values to the existing list (if any). Use
setLaunchConfigurations(java.util.Collection)
orwithLaunchConfigurations(java.util.Collection)
if you want to override the existing values.- Parameters:
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLaunchConfigurations
public EnvironmentResourceDescription withLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations) The Auto Scaling launch configurations in use by this environment.
- Parameters:
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLoadBalancers
The LoadBalancers in use by this environment.
- Returns:
- The LoadBalancers in use by this environment.
-
setLoadBalancers
The LoadBalancers in use by this environment.
- Parameters:
loadBalancers
- The LoadBalancers in use by this environment.
-
withLoadBalancers
The LoadBalancers in use by this environment.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancers(java.util.Collection)
orwithLoadBalancers(java.util.Collection)
if you want to override the existing values.- Parameters:
loadBalancers
- The LoadBalancers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLoadBalancers
The LoadBalancers in use by this environment.
- Parameters:
loadBalancers
- The LoadBalancers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTriggers
The
AutoScaling
triggers in use by this environment.- Returns:
- The
AutoScaling
triggers in use by this environment.
-
setTriggers
The
AutoScaling
triggers in use by this environment.- Parameters:
triggers
- TheAutoScaling
triggers in use by this environment.
-
withTriggers
The
AutoScaling
triggers in use by this environment.NOTE: This method appends the values to the existing list (if any). Use
setTriggers(java.util.Collection)
orwithTriggers(java.util.Collection)
if you want to override the existing values.- Parameters:
triggers
- TheAutoScaling
triggers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTriggers
The
AutoScaling
triggers in use by this environment.- Parameters:
triggers
- TheAutoScaling
triggers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getQueues
The queues used by this environment.
- Returns:
- The queues used by this environment.
-
setQueues
The queues used by this environment.
- Parameters:
queues
- The queues used by this environment.
-
withQueues
The queues used by this environment.
NOTE: This method appends the values to the existing list (if any). Use
setQueues(java.util.Collection)
orwithQueues(java.util.Collection)
if you want to override the existing values.- Parameters:
queues
- The queues used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withQueues
The queues used by this environment.
- Parameters:
queues
- The queues used by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-