com.amazonaws.services.elasticbeanstalk.model
Class EnvironmentResourceDescription

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.EnvironmentResourceDescription

public class EnvironmentResourceDescription
extends java.lang.Object

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


Constructor Summary
EnvironmentResourceDescription()
          Default constructor for a new EnvironmentResourceDescription object.
 
Method Summary
 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<Trigger> getTriggers()
          The AutoScaling triggers in use by this environment.
 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 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 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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 java.lang.String getEnvironmentName()
The name of the environment.

Constraints:
Length: 4 - 23

Returns:
The name of the environment.

setEnvironmentName

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

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment.

withEnvironmentName

public EnvironmentResourceDescription withEnvironmentName(java.lang.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 java.util.List<AutoScalingGroup> getAutoScalingGroups()
The AutoScalingGroups used by this environment.

Returns:
The AutoScalingGroups used by this environment.

setAutoScalingGroups

public void setAutoScalingGroups(java.util.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(java.util.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 java.util.List<Instance> getInstances()
The Amazon EC2 instances used by this environment.

Returns:
The Amazon EC2 instances used by this environment.

setInstances

public void setInstances(java.util.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(java.util.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 java.util.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(java.util.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(java.util.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 java.util.List<LoadBalancer> getLoadBalancers()
The LoadBalancers in use by this environment.

Returns:
The LoadBalancers in use by this environment.

setLoadBalancers

public void setLoadBalancers(java.util.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(java.util.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 java.util.List<Trigger> getTriggers()
The AutoScaling triggers in use by this environment.

Returns:
The AutoScaling triggers in use by this environment.

setTriggers

public void setTriggers(java.util.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(java.util.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()


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