public class EnvironmentResourceDescription extends Object implements Serializable
Describes the AWS resources in use by this environment. This data is live.
Constructor and Description |
---|
EnvironmentResourceDescription()
Default constructor for a new EnvironmentResourceDescription object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<AutoScalingGroup> |
getAutoScalingGroups()
The
AutoScalingGroups used by this environment. |
String |
getEnvironmentName()
The name of the environment.
|
List<Instance> |
getInstances()
The Amazon EC2 instances used by this environment.
|
List<LaunchConfiguration> |
getLaunchConfigurations()
The Auto Scaling launch configurations in use by this environment.
|
List<LoadBalancer> |
getLoadBalancers()
The LoadBalancers in use by this environment.
|
List<Queue> |
getQueues()
The queues used by this environment.
|
List<Trigger> |
getTriggers()
The
AutoScaling triggers in use by this environment. |
int |
hashCode() |
void |
setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The
AutoScalingGroups 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)
The
AutoScaling triggers in use by this environment. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnvironmentResourceDescription |
withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
The
AutoScalingGroups used by this environment. |
EnvironmentResourceDescription |
withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The
AutoScalingGroups used by this environment. |
EnvironmentResourceDescription |
withEnvironmentName(String environmentName)
The name of the environment.
|
EnvironmentResourceDescription |
withInstances(Collection<Instance> instances)
The Amazon EC2 instances used by this environment.
|
EnvironmentResourceDescription |
withInstances(Instance... instances)
The Amazon EC2 instances used by this environment.
|
EnvironmentResourceDescription |
withLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)
The Auto Scaling launch configurations in use by this environment.
|
EnvironmentResourceDescription |
withLaunchConfigurations(LaunchConfiguration... launchConfigurations)
The Auto Scaling launch configurations in use by this environment.
|
EnvironmentResourceDescription |
withLoadBalancers(Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.
|
EnvironmentResourceDescription |
withLoadBalancers(LoadBalancer... loadBalancers)
The LoadBalancers in use by this environment.
|
EnvironmentResourceDescription |
withQueues(Collection<Queue> queues)
The queues used by this environment.
|
EnvironmentResourceDescription |
withQueues(Queue... queues)
The queues used by this environment.
|
EnvironmentResourceDescription |
withTriggers(Collection<Trigger> triggers)
The
AutoScaling triggers in use by this environment. |
EnvironmentResourceDescription |
withTriggers(Trigger... triggers)
The
AutoScaling triggers in use by this environment. |
public EnvironmentResourceDescription()
public String getEnvironmentName()
Constraints:
Length: 4 - 23
public void setEnvironmentName(String environmentName)
Constraints:
Length: 4 - 23
environmentName
- The name of the environment.public EnvironmentResourceDescription withEnvironmentName(String environmentName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
environmentName
- The name of the environment.public List<AutoScalingGroup> getAutoScalingGroups()
AutoScalingGroups
used by this environment.AutoScalingGroups
used by this environment.public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
AutoScalingGroups
used by this environment.autoScalingGroups
- The AutoScalingGroups
used by this environment.public EnvironmentResourceDescription withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
AutoScalingGroups
used by this environment.
Returns a reference to this object so that method calls can be chained together.
autoScalingGroups
- The AutoScalingGroups
used by this environment.public EnvironmentResourceDescription withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
AutoScalingGroups
used by this environment.
Returns a reference to this object so that method calls can be chained together.
autoScalingGroups
- The AutoScalingGroups
used by this environment.public List<Instance> getInstances()
public void setInstances(Collection<Instance> instances)
instances
- The Amazon EC2 instances used by this environment.public EnvironmentResourceDescription withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- The Amazon EC2 instances used by this environment.public EnvironmentResourceDescription withInstances(Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- The Amazon EC2 instances used by this environment.public List<LaunchConfiguration> getLaunchConfigurations()
public void setLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.public EnvironmentResourceDescription withLaunchConfigurations(LaunchConfiguration... launchConfigurations)
Returns a reference to this object so that method calls can be chained together.
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.public EnvironmentResourceDescription withLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)
Returns a reference to this object so that method calls can be chained together.
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.public List<LoadBalancer> getLoadBalancers()
public void setLoadBalancers(Collection<LoadBalancer> loadBalancers)
loadBalancers
- The LoadBalancers in use by this environment.public EnvironmentResourceDescription withLoadBalancers(LoadBalancer... loadBalancers)
Returns a reference to this object so that method calls can be chained together.
loadBalancers
- The LoadBalancers in use by this environment.public EnvironmentResourceDescription withLoadBalancers(Collection<LoadBalancer> loadBalancers)
Returns a reference to this object so that method calls can be chained together.
loadBalancers
- The LoadBalancers in use by this environment.public List<Trigger> getTriggers()
AutoScaling
triggers in use by this environment.AutoScaling
triggers in use by this environment.public void setTriggers(Collection<Trigger> triggers)
AutoScaling
triggers in use by this environment.triggers
- The AutoScaling
triggers in use by this environment.public EnvironmentResourceDescription withTriggers(Trigger... triggers)
AutoScaling
triggers in use by this environment.
Returns a reference to this object so that method calls can be chained together.
triggers
- The AutoScaling
triggers in use by this environment.public EnvironmentResourceDescription withTriggers(Collection<Trigger> triggers)
AutoScaling
triggers in use by this environment.
Returns a reference to this object so that method calls can be chained together.
triggers
- The AutoScaling
triggers in use by this environment.public List<Queue> getQueues()
public void setQueues(Collection<Queue> queues)
queues
- The queues used by this environment.public EnvironmentResourceDescription withQueues(Queue... queues)
Returns a reference to this object so that method calls can be chained together.
queues
- The queues used by this environment.public EnvironmentResourceDescription withQueues(Collection<Queue> queues)
Returns a reference to this object so that method calls can be chained together.
queues
- The queues used by this environment.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.