Class DescribeEnvironmentResourcesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.DescribeEnvironmentResourcesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeEnvironmentResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Request to describe the resources in an environment.

See Also:
  • Constructor Details

    • DescribeEnvironmentResourcesRequest

      public DescribeEnvironmentResourcesRequest()
  • Method Details

    • 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.

    • 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.

    • 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.

      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:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      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.

    • 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.

      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.

    • 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.

      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:
      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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: