@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentResourceDescription extends Object implements Serializable, Cloneable
Describes the AWS resources in use by this environment. This data is live.
Constructor and Description |
---|
EnvironmentResourceDescription() |
Modifier and Type | Method and Description |
---|---|
EnvironmentResourceDescription |
clone() |
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 void setEnvironmentName(String environmentName)
The name of the environment.
environmentName
- The name of the environment.public String getEnvironmentName()
The name of the environment.
public EnvironmentResourceDescription withEnvironmentName(String environmentName)
The name of the environment.
environmentName
- The name of the environment.public List<AutoScalingGroup> getAutoScalingGroups()
The AutoScalingGroups
used by this environment.
AutoScalingGroups
used by this environment.public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The AutoScalingGroups
used by this environment.
autoScalingGroups
- The AutoScalingGroups
used by this environment.public EnvironmentResourceDescription withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
The AutoScalingGroups
used by this environment.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroups(java.util.Collection)
or withAutoScalingGroups(java.util.Collection)
if
you want to override the existing values.
autoScalingGroups
- The AutoScalingGroups
used by this environment.public EnvironmentResourceDescription withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The AutoScalingGroups
used by this environment.
autoScalingGroups
- The AutoScalingGroups
used by this environment.public List<Instance> getInstances()
The Amazon EC2 instances used by this environment.
public void setInstances(Collection<Instance> instances)
The Amazon EC2 instances used by this environment.
instances
- The Amazon EC2 instances used by this environment.public EnvironmentResourceDescription withInstances(Instance... instances)
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)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- The Amazon EC2 instances used by this environment.public EnvironmentResourceDescription withInstances(Collection<Instance> instances)
The Amazon EC2 instances used by this environment.
instances
- The Amazon EC2 instances used by this environment.public List<LaunchConfiguration> getLaunchConfigurations()
The Auto Scaling launch configurations in use by this environment.
public void setLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)
The Auto Scaling launch configurations in use by this environment.
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.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)
or withLaunchConfigurations(java.util.Collection)
if you want to override the existing values.
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.public EnvironmentResourceDescription withLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)
The Auto Scaling launch configurations in use by this environment.
launchConfigurations
- The Auto Scaling launch configurations in use by this environment.public List<LoadBalancer> getLoadBalancers()
The LoadBalancers in use by this environment.
public void setLoadBalancers(Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.
loadBalancers
- The LoadBalancers in use by this environment.public EnvironmentResourceDescription withLoadBalancers(LoadBalancer... loadBalancers)
The LoadBalancers in use by this environment.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancers(java.util.Collection)
or withLoadBalancers(java.util.Collection)
if you want
to override the existing values.
loadBalancers
- The LoadBalancers in use by this environment.public EnvironmentResourceDescription withLoadBalancers(Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.
loadBalancers
- The LoadBalancers in use by this environment.public List<Trigger> getTriggers()
The AutoScaling
triggers in use by this environment.
AutoScaling
triggers in use by this environment.public void setTriggers(Collection<Trigger> triggers)
The AutoScaling
triggers in use by this environment.
triggers
- The AutoScaling
triggers in use by this environment.public EnvironmentResourceDescription withTriggers(Trigger... triggers)
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)
or withTriggers(java.util.Collection)
if you want to override
the existing values.
triggers
- The AutoScaling
triggers in use by this environment.public EnvironmentResourceDescription withTriggers(Collection<Trigger> triggers)
The AutoScaling
triggers in use by this environment.
triggers
- The AutoScaling
triggers in use by this environment.public List<Queue> getQueues()
The queues used by this environment.
public void setQueues(Collection<Queue> queues)
The queues used by this environment.
queues
- The queues used by this environment.public EnvironmentResourceDescription withQueues(Queue... queues)
The queues used by this environment.
NOTE: This method appends the values to the existing list (if any). Use
setQueues(java.util.Collection)
or withQueues(java.util.Collection)
if you want to override the
existing values.
queues
- The queues used by this environment.public EnvironmentResourceDescription withQueues(Collection<Queue> queues)
The queues used by this environment.
queues
- The queues used by this environment.public String toString()
toString
in class Object
Object.toString()
public EnvironmentResourceDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.