com.amazonaws.services.elasticbeanstalk.model

## クラス DescribeEnvironmentResourcesRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticbeanstalk.model.DescribeEnvironmentResourcesRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class DescribeEnvironmentResourcesRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeEnvironmentResources operation`.

  Returns AWS resources for this environment.

  関連項目:
    `AWSElasticBeanstalk.describeEnvironmentResources(DescribeEnvironmentResourcesRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `DescribeEnvironmentResourcesRequest()` Default constructor for a new DescribeEnvironmentResourcesRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getEnvironmentId()` The ID of the environment to retrieve AWS resource usage data.
    `java.lang.String` | `getEnvironmentName()` The name of the environment to retrieve AWS resource usage data.
    `int` | `hashCode()`
    `void` | `setEnvironmentId(java.lang.String environmentId)` The ID of the environment to retrieve AWS resource usage data.
    `void` | `setEnvironmentName(java.lang.String environmentName)` The name of the environment to retrieve AWS resource usage data.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeEnvironmentResourcesRequest` | `withEnvironmentId(java.lang.String environmentId)` The ID of the environment to retrieve AWS resource usage data.
    `DescribeEnvironmentResourcesRequest` | `withEnvironmentName(java.lang.String environmentName)` The name of the environment to retrieve AWS resource usage data.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

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

  - ### メソッドの詳細

    - #### getEnvironmentId

          public java.lang.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.

      戻り値:
        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(java.lang.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.

      パラメータ:
        `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(java.lang.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.

      パラメータ:
        `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.

    - #### getEnvironmentName

          public java.lang.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

      戻り値:
        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(java.lang.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

      パラメータ:
        `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(java.lang.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

      パラメータ:
        `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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`