public class EnvironmentResourceDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the AWS resources in use by this environment. This data is live.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AutoScalingGroup> |
autoScalingGroups
The
AutoScalingGroups used by this environment. |
private java.lang.String |
environmentName
The name of the environment.
|
private SdkInternalList<Instance> |
instances
The Amazon EC2 instances used by this environment.
|
private SdkInternalList<LaunchConfiguration> |
launchConfigurations
The Auto Scaling launch configurations in use by this environment.
|
private SdkInternalList<LoadBalancer> |
loadBalancers
The LoadBalancers in use by this environment.
|
private SdkInternalList<Queue> |
queues
The queues used by this environment.
|
private SdkInternalList<Trigger> |
triggers
The
AutoScaling triggers in use by this environment. |
Constructor and Description |
---|
EnvironmentResourceDescription() |
Modifier and Type | Method and Description |
---|---|
EnvironmentResourceDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AutoScalingGroup> |
getAutoScalingGroups()
The
AutoScalingGroups used by this environment. |
java.lang.String |
getEnvironmentName()
The name of the environment.
|
java.util.List<Instance> |
getInstances()
The Amazon EC2 instances used by this environment.
|
java.util.List<LaunchConfiguration> |
getLaunchConfigurations()
The Auto Scaling launch configurations in use by this environment.
|
java.util.List<LoadBalancer> |
getLoadBalancers()
The LoadBalancers in use by this environment.
|
java.util.List<Queue> |
getQueues()
The queues used by this environment.
|
java.util.List<Trigger> |
getTriggers()
The
AutoScaling triggers in use by this environment. |
int |
hashCode() |
void |
setAutoScalingGroups(java.util.Collection<AutoScalingGroup> autoScalingGroups)
The
AutoScalingGroups used by this environment. |
void |
setEnvironmentName(java.lang.String environmentName)
The name of the environment.
|
void |
setInstances(java.util.Collection<Instance> instances)
The Amazon EC2 instances used by this environment.
|
void |
setLaunchConfigurations(java.util.Collection<LaunchConfiguration> launchConfigurations)
The Auto Scaling launch configurations in use by this environment.
|
void |
setLoadBalancers(java.util.Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.
|
void |
setQueues(java.util.Collection<Queue> queues)
The queues used by this environment.
|
void |
setTriggers(java.util.Collection<Trigger> triggers)
The
AutoScaling triggers in use by this environment. |
java.lang.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(java.util.Collection<AutoScalingGroup> autoScalingGroups)
The
AutoScalingGroups used by this environment. |
EnvironmentResourceDescription |
withEnvironmentName(java.lang.String environmentName)
The name of the environment.
|
EnvironmentResourceDescription |
withInstances(java.util.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(java.util.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(java.util.Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.
|
EnvironmentResourceDescription |
withLoadBalancers(LoadBalancer... loadBalancers)
The LoadBalancers in use by this environment.
|
EnvironmentResourceDescription |
withQueues(java.util.Collection<Queue> queues)
The queues used by this environment.
|
EnvironmentResourceDescription |
withQueues(Queue... queues)
The queues used by this environment.
|
EnvironmentResourceDescription |
withTriggers(java.util.Collection<Trigger> triggers)
The
AutoScaling triggers in use by this environment. |
EnvironmentResourceDescription |
withTriggers(Trigger... triggers)
The
AutoScaling triggers in use by this environment. |
private java.lang.String environmentName
The name of the environment.
private SdkInternalList<AutoScalingGroup> autoScalingGroups
The AutoScalingGroups
used by this environment.
private SdkInternalList<Instance> instances
The Amazon EC2 instances used by this environment.
private SdkInternalList<LaunchConfiguration> launchConfigurations
The Auto Scaling launch configurations in use by this environment.
private SdkInternalList<LoadBalancer> loadBalancers
The LoadBalancers in use by this environment.
private SdkInternalList<Trigger> triggers
The AutoScaling
triggers in use by this environment.
private SdkInternalList<Queue> queues
The queues used by this environment.
public void setEnvironmentName(java.lang.String environmentName)
The name of the environment.
environmentName
- The name of the environment.public java.lang.String getEnvironmentName()
The name of the environment.
public EnvironmentResourceDescription withEnvironmentName(java.lang.String environmentName)
The name of the environment.
environmentName
- The name of the environment.public java.util.List<AutoScalingGroup> getAutoScalingGroups()
The AutoScalingGroups
used by this environment.
AutoScalingGroups
used by this environment.public void setAutoScalingGroups(java.util.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(java.util.Collection<AutoScalingGroup> autoScalingGroups)
The AutoScalingGroups
used by this environment.
autoScalingGroups
- The AutoScalingGroups
used by this environment.public java.util.List<Instance> getInstances()
The Amazon EC2 instances used by this environment.
public void setInstances(java.util.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(java.util.Collection<Instance> instances)
The Amazon EC2 instances used by this environment.
instances
- The Amazon EC2 instances used by this environment.public java.util.List<LaunchConfiguration> getLaunchConfigurations()
The Auto Scaling launch configurations in use by this environment.
public void setLaunchConfigurations(java.util.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(java.util.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 java.util.List<LoadBalancer> getLoadBalancers()
The LoadBalancers in use by this environment.
public void setLoadBalancers(java.util.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(java.util.Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.
loadBalancers
- The LoadBalancers in use by this environment.public java.util.List<Trigger> getTriggers()
The AutoScaling
triggers in use by this environment.
AutoScaling
triggers in use by this environment.public void setTriggers(java.util.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(java.util.Collection<Trigger> triggers)
The AutoScaling
triggers in use by this environment.
triggers
- The AutoScaling
triggers in use by this environment.public java.util.List<Queue> getQueues()
The queues used by this environment.
public void setQueues(java.util.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(java.util.Collection<Queue> queues)
The queues used by this environment.
queues
- The queues used by this environment.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnvironmentResourceDescription clone()
clone
in class java.lang.Object