Class EnvironmentResourceDescription
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.EnvironmentResourceDescription
-
- All Implemented Interfaces:
Serializable,Cloneable
public class EnvironmentResourceDescription extends Object implements Serializable, Cloneable
Describes the AWS resources in use by this environment. This data is live.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnvironmentResourceDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentResourceDescriptionclone()booleanequals(Object obj)List<AutoScalingGroup>getAutoScalingGroups()TheAutoScalingGroupsused by this environment.StringgetEnvironmentName()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()TheAutoScalingtriggers in use by this environment.inthashCode()voidsetAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)TheAutoScalingGroupsused by this environment.voidsetEnvironmentName(String environmentName)The name of the environment.voidsetInstances(Collection<Instance> instances)The Amazon EC2 instances used by this environment.voidsetLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)The Auto Scaling launch configurations in use by this environment.voidsetLoadBalancers(Collection<LoadBalancer> loadBalancers)The LoadBalancers in use by this environment.voidsetQueues(Collection<Queue> queues)The queues used by this environment.voidsetTriggers(Collection<Trigger> triggers)TheAutoScalingtriggers in use by this environment.StringtoString()Returns a string representation of this object; useful for testing and debugging.EnvironmentResourceDescriptionwithAutoScalingGroups(AutoScalingGroup... autoScalingGroups)TheAutoScalingGroupsused by this environment.EnvironmentResourceDescriptionwithAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)TheAutoScalingGroupsused by this environment.EnvironmentResourceDescriptionwithEnvironmentName(String environmentName)The name of the environment.EnvironmentResourceDescriptionwithInstances(Instance... instances)The Amazon EC2 instances used by this environment.EnvironmentResourceDescriptionwithInstances(Collection<Instance> instances)The Amazon EC2 instances used by this environment.EnvironmentResourceDescriptionwithLaunchConfigurations(LaunchConfiguration... launchConfigurations)The Auto Scaling launch configurations in use by this environment.EnvironmentResourceDescriptionwithLaunchConfigurations(Collection<LaunchConfiguration> launchConfigurations)The Auto Scaling launch configurations in use by this environment.EnvironmentResourceDescriptionwithLoadBalancers(LoadBalancer... loadBalancers)The LoadBalancers in use by this environment.EnvironmentResourceDescriptionwithLoadBalancers(Collection<LoadBalancer> loadBalancers)The LoadBalancers in use by this environment.EnvironmentResourceDescriptionwithQueues(Queue... queues)The queues used by this environment.EnvironmentResourceDescriptionwithQueues(Collection<Queue> queues)The queues used by this environment.EnvironmentResourceDescriptionwithTriggers(Trigger... triggers)TheAutoScalingtriggers in use by this environment.EnvironmentResourceDescriptionwithTriggers(Collection<Trigger> triggers)TheAutoScalingtriggers in use by this environment.
-
-
-
Method Detail
-
setEnvironmentName
public void setEnvironmentName(String environmentName)
The name of the environment.
- Parameters:
environmentName- The name of the environment.
-
getEnvironmentName
public String getEnvironmentName()
The name of the environment.
- Returns:
- The name of the environment.
-
withEnvironmentName
public EnvironmentResourceDescription withEnvironmentName(String environmentName)
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
public List<AutoScalingGroup> getAutoScalingGroups()
The
AutoScalingGroupsused by this environment.- Returns:
- The
AutoScalingGroupsused by this environment.
-
setAutoScalingGroups
public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The
AutoScalingGroupsused by this environment.- Parameters:
autoScalingGroups- TheAutoScalingGroupsused by this environment.
-
withAutoScalingGroups
public EnvironmentResourceDescription withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
The
AutoScalingGroupsused 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- TheAutoScalingGroupsused 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
AutoScalingGroupsused by this environment.- Parameters:
autoScalingGroups- TheAutoScalingGroupsused by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInstances
public List<Instance> getInstances()
The Amazon EC2 instances used by this environment.
- Returns:
- The Amazon EC2 instances used by this environment.
-
setInstances
public void setInstances(Collection<Instance> instances)
The Amazon EC2 instances used by this environment.
- Parameters:
instances- The Amazon EC2 instances used by this environment.
-
withInstances
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)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
public EnvironmentResourceDescription withInstances(Collection<Instance> instances)
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
public List<LaunchConfiguration> getLaunchConfigurations()
The Auto Scaling launch configurations in use by this environment.
- Returns:
- The Auto Scaling launch configurations in use by this environment.
-
setLaunchConfigurations
public void setLaunchConfigurations(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.
-
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
public List<LoadBalancer> getLoadBalancers()
The LoadBalancers in use by this environment.
- Returns:
- The LoadBalancers in use by this environment.
-
setLoadBalancers
public void setLoadBalancers(Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.
- Parameters:
loadBalancers- The LoadBalancers in use by this environment.
-
withLoadBalancers
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)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
public EnvironmentResourceDescription withLoadBalancers(Collection<LoadBalancer> loadBalancers)
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
public List<Trigger> getTriggers()
The
AutoScalingtriggers in use by this environment.- Returns:
- The
AutoScalingtriggers in use by this environment.
-
setTriggers
public void setTriggers(Collection<Trigger> triggers)
The
AutoScalingtriggers in use by this environment.- Parameters:
triggers- TheAutoScalingtriggers in use by this environment.
-
withTriggers
public EnvironmentResourceDescription withTriggers(Trigger... triggers)
The
AutoScalingtriggers 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- TheAutoScalingtriggers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTriggers
public EnvironmentResourceDescription withTriggers(Collection<Trigger> triggers)
The
AutoScalingtriggers in use by this environment.- Parameters:
triggers- TheAutoScalingtriggers in use by this environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getQueues
public List<Queue> getQueues()
The queues used by this environment.
- Returns:
- The queues used by this environment.
-
setQueues
public void setQueues(Collection<Queue> queues)
The queues used by this environment.
- Parameters:
queues- The queues used by this environment.
-
withQueues
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)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
public EnvironmentResourceDescription withQueues(Collection<Queue> queues)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EnvironmentResourceDescription clone()
-
-