Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class DescribeEnvironmentResourcesRequest

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

public class DescribeEnvironmentResourcesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeEnvironmentResources operation.

Returns AWS resources for this environment.

See Also:
AWSElasticBeanstalk.describeEnvironmentResources(DescribeEnvironmentResourcesRequest), Serialized Form

Constructor Summary
DescribeEnvironmentResourcesRequest()
          Default constructor for a new DescribeEnvironmentResourcesRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getEnvironmentId()
          The ID of the environment to retrieve AWS resource usage data.
 String getEnvironmentName()
          The name of the environment to retrieve AWS resource usage data.
 int hashCode()
           
 void setEnvironmentId(String environmentId)
          The ID of the environment to retrieve AWS resource usage data.
 void setEnvironmentName(String environmentName)
          The name of the environment to retrieve AWS resource usage data.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeEnvironmentResourcesRequest withEnvironmentId(String environmentId)
          The ID of the environment to retrieve AWS resource usage data.
 DescribeEnvironmentResourcesRequest withEnvironmentName(String environmentName)
          The name of the environment to retrieve AWS resource usage data.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeEnvironmentResourcesRequest

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

Method Detail

getEnvironmentId

public String getEnvironmentId()
The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Returns:
The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.


setEnvironmentId

public void setEnvironmentId(String environmentId)
The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Parameters:
environmentId - The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.


withEnvironmentId

public DescribeEnvironmentResourcesRequest withEnvironmentId(String environmentId)
The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

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

Parameters:
environmentId - The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Returns:
A reference to this updated object so that method calls can be chained together.

getEnvironmentName

public String getEnvironmentName()
The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Constraints:
Length: 4 - 23

Returns:
The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.


setEnvironmentName

public void setEnvironmentName(String environmentName)
The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.


withEnvironmentName

public DescribeEnvironmentResourcesRequest withEnvironmentName(String environmentName)
The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

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 to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

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.