Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class EnvironmentResourceDescription

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.EnvironmentResourceDescription
All Implemented Interfaces:
Serializable

public class EnvironmentResourceDescription
extends Object
implements Serializable

Describes the AWS resources in use by this environment. This data is live.

See Also:
Serialized Form

Constructor Summary
EnvironmentResourceDescription()
          Default constructor for a new EnvironmentResourceDescription object.
 
Method Summary
 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<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 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 withTriggers(Collection<Trigger> triggers)
          The AutoScaling triggers in use by this environment.
 EnvironmentResourceDescription withTriggers(Trigger... triggers)
          The AutoScaling triggers in use by this environment.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvironmentResourceDescription

public EnvironmentResourceDescription()
Default constructor for a new EnvironmentResourceDescription object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getEnvironmentName

public String getEnvironmentName()
The name of the environment.

Constraints:
Length: 4 - 23

Returns:
The name of the environment.

setEnvironmentName

public void setEnvironmentName(String environmentName)
The name of the environment.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment.

withEnvironmentName

public EnvironmentResourceDescription withEnvironmentName(String environmentName)
The name of the environment.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoScalingGroups

public List<AutoScalingGroup> getAutoScalingGroups()
The AutoScalingGroups used by this environment.

Returns:
The AutoScalingGroups used by this environment.

setAutoScalingGroups

public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The AutoScalingGroups used by this environment.

Parameters:
autoScalingGroups - The AutoScalingGroups used by this environment.

withAutoScalingGroups

public EnvironmentResourceDescription withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
The AutoScalingGroups used by this environment.

Returns a reference to this object so that method calls can be chained together.

Parameters:
autoScalingGroups - The AutoScalingGroups used by this environment.
Returns:
A reference to this updated object so that method calls can be chained together.

withAutoScalingGroups

public EnvironmentResourceDescription withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The AutoScalingGroups used by this environment.

Returns a reference to this object so that method calls can be chained together.

Parameters:
autoScalingGroups - The AutoScalingGroups used by this environment.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instances - The Amazon EC2 instances used by this environment.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public EnvironmentResourceDescription withInstances(Collection<Instance> instances)
The Amazon EC2 instances used by this environment.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instances - The Amazon EC2 instances used by this environment.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
launchConfigurations - The Auto Scaling launch configurations in use by this environment.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
launchConfigurations - The Auto Scaling launch configurations in use by this environment.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancers - The LoadBalancers in use by this environment.
Returns:
A reference to this updated object so that method calls can be chained together.

withLoadBalancers

public EnvironmentResourceDescription withLoadBalancers(Collection<LoadBalancer> loadBalancers)
The LoadBalancers in use by this environment.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancers - The LoadBalancers in use by this environment.
Returns:
A reference to this updated object so that method calls can be chained together.

getTriggers

public List<Trigger> getTriggers()
The AutoScaling triggers in use by this environment.

Returns:
The AutoScaling triggers in use by this environment.

setTriggers

public void setTriggers(Collection<Trigger> triggers)
The AutoScaling triggers in use by this environment.

Parameters:
triggers - The AutoScaling triggers in use by this environment.

withTriggers

public EnvironmentResourceDescription withTriggers(Trigger... triggers)
The AutoScaling triggers in use by this environment.

Returns a reference to this object so that method calls can be chained together.

Parameters:
triggers - The AutoScaling triggers in use by this environment.
Returns:
A reference to this updated object so that method calls can be chained together.

withTriggers

public EnvironmentResourceDescription withTriggers(Collection<Trigger> triggers)
The AutoScaling triggers in use by this environment.

Returns a reference to this object so that method calls can be chained together.

Parameters:
triggers - The AutoScaling triggers in use by this environment.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.