com.amazonaws.services.elasticbeanstalk.model

## クラス TerminateEnvironmentResult

- java.lang.Object
- - com.amazonaws.services.elasticbeanstalk.model.TerminateEnvironmentResult

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

      public class TerminateEnvironmentResult
      extends java.lang.Object
      implements java.io.Serializable

  Describes the properties of an environment.

  関連項目:
    直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `TerminateEnvironmentResult()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getApplicationName()` The name of the application associated with this environment.
    `java.lang.String` | `getCNAME()` The URL to the CNAME for this environment.
    `java.util.Date` | `getDateCreated()` The creation date for this environment.
    `java.util.Date` | `getDateUpdated()` The last modified date for this environment.
    `java.lang.String` | `getDescription()` Describes this environment.
    `java.lang.String` | `getEndpointURL()` The URL to the LoadBalancer for this environment.
    `java.lang.String` | `getEnvironmentId()` The ID of this environment.
    `java.lang.String` | `getEnvironmentName()` The name of this environment.
    `java.lang.String` | `getHealth()` Describes the health status of the environment.
    `EnvironmentResourcesDescription` | `getResources()` The description of the AWS resources used by this environment.
    `java.lang.String` | `getSolutionStackName()` The name of the `SolutionStack` deployed with this environment.
    `java.lang.String` | `getStatus()` The current operational status of the environment: `Launching`: Environment is in the process of initial deployment.
    `java.lang.String` | `getTemplateName()` The name of the configuration template used to originally launch this environment.
    `java.lang.String` | `getVersionLabel()` The application version deployed in this environment.
    `int` | `hashCode()`
    `void` | `setApplicationName(java.lang.String applicationName)` The name of the application associated with this environment.
    `void` | `setCNAME(java.lang.String cNAME)` The URL to the CNAME for this environment.
    `void` | `setDateCreated(java.util.Date dateCreated)` The creation date for this environment.
    `void` | `setDateUpdated(java.util.Date dateUpdated)` The last modified date for this environment.
    `void` | `setDescription(java.lang.String description)` Describes this environment.
    `void` | `setEndpointURL(java.lang.String endpointURL)` The URL to the LoadBalancer for this environment.
    `void` | `setEnvironmentId(java.lang.String environmentId)` The ID of this environment.
    `void` | `setEnvironmentName(java.lang.String environmentName)` The name of this environment.
    `void` | `setHealth(EnvironmentHealth health)` Describes the health status of the environment.
    `void` | `setHealth(java.lang.String health)` Describes the health status of the environment.
    `void` | `setResources(EnvironmentResourcesDescription resources)` The description of the AWS resources used by this environment.
    `void` | `setSolutionStackName(java.lang.String solutionStackName)` The name of the `SolutionStack` deployed with this environment.
    `void` | `setStatus(EnvironmentStatus status)` The current operational status of the environment: `Launching`: Environment is in the process of initial deployment.
    `void` | `setStatus(java.lang.String status)` The current operational status of the environment: `Launching`: Environment is in the process of initial deployment.
    `void` | `setTemplateName(java.lang.String templateName)` The name of the configuration template used to originally launch this environment.
    `void` | `setVersionLabel(java.lang.String versionLabel)` The application version deployed in this environment.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `TerminateEnvironmentResult` | `withApplicationName(java.lang.String applicationName)` The name of the application associated with this environment.
    `TerminateEnvironmentResult` | `withCNAME(java.lang.String cNAME)` The URL to the CNAME for this environment.
    `TerminateEnvironmentResult` | `withDateCreated(java.util.Date dateCreated)` The creation date for this environment.
    `TerminateEnvironmentResult` | `withDateUpdated(java.util.Date dateUpdated)` The last modified date for this environment.
    `TerminateEnvironmentResult` | `withDescription(java.lang.String description)` Describes this environment.
    `TerminateEnvironmentResult` | `withEndpointURL(java.lang.String endpointURL)` The URL to the LoadBalancer for this environment.
    `TerminateEnvironmentResult` | `withEnvironmentId(java.lang.String environmentId)` The ID of this environment.
    `TerminateEnvironmentResult` | `withEnvironmentName(java.lang.String environmentName)` The name of this environment.
    `TerminateEnvironmentResult` | `withHealth(EnvironmentHealth health)` Describes the health status of the environment.
    `TerminateEnvironmentResult` | `withHealth(java.lang.String health)` Describes the health status of the environment.
    `TerminateEnvironmentResult` | `withResources(EnvironmentResourcesDescription resources)` The description of the AWS resources used by this environment.
    `TerminateEnvironmentResult` | `withSolutionStackName(java.lang.String solutionStackName)` The name of the `SolutionStack` deployed with this environment.
    `TerminateEnvironmentResult` | `withStatus(EnvironmentStatus status)` The current operational status of the environment: `Launching`: Environment is in the process of initial deployment.
    `TerminateEnvironmentResult` | `withStatus(java.lang.String status)` The current operational status of the environment: `Launching`: Environment is in the process of initial deployment.
    `TerminateEnvironmentResult` | `withTemplateName(java.lang.String templateName)` The name of the configuration template used to originally launch this environment.
    `TerminateEnvironmentResult` | `withVersionLabel(java.lang.String versionLabel)` The application version deployed in this environment.

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

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

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

    - #### TerminateEnvironmentResult

          public TerminateEnvironmentResult()

  - ### メソッドの詳細

    - #### getEnvironmentName

          public java.lang.String getEnvironmentName()

      The name of this environment.

      Constraints:
      Length: 4 - 23

      戻り値:
        The name of this environment.

    - #### setEnvironmentName

          public void setEnvironmentName(java.lang.String environmentName)

      The name of this environment.

      Constraints:
      Length: 4 - 23

      パラメータ:
        `environmentName` - The name of this environment.

    - #### withEnvironmentName

          public TerminateEnvironmentResult withEnvironmentName(java.lang.String environmentName)

      The name of this environment.

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

      Constraints:
      Length: 4 - 23

      パラメータ:
        `environmentName` - The name of this environment.

    - #### getEnvironmentId

          public java.lang.String getEnvironmentId()

      The ID of this environment.
      戻り値:
        The ID of this environment.

    - #### setEnvironmentId

          public void setEnvironmentId(java.lang.String environmentId)

      The ID of this environment.
      パラメータ:
        `environmentId` - The ID of this environment.

    - #### withEnvironmentId

          public TerminateEnvironmentResult withEnvironmentId(java.lang.String environmentId)

      The ID of this environment.

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

      パラメータ:
        `environmentId` - The ID of this environment.

    - #### getApplicationName

          public java.lang.String getApplicationName()

      The name of the application associated with this environment.

      Constraints:
      Length: 1 - 100

      戻り値:
        The name of the application associated with this environment.

    - #### setApplicationName

          public void setApplicationName(java.lang.String applicationName)

      The name of the application associated with this environment.

      Constraints:
      Length: 1 - 100

      パラメータ:
        `applicationName` - The name of the application associated with this environment.

    - #### withApplicationName

          public TerminateEnvironmentResult withApplicationName(java.lang.String applicationName)

      The name of the application associated with this environment.

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

      Constraints:
      Length: 1 - 100

      パラメータ:
        `applicationName` - The name of the application associated with this environment.

    - #### getVersionLabel

          public java.lang.String getVersionLabel()

      The application version deployed in this environment.

      Constraints:
      Length: 1 - 100

      戻り値:
        The application version deployed in this environment.

    - #### setVersionLabel

          public void setVersionLabel(java.lang.String versionLabel)

      The application version deployed in this environment.

      Constraints:
      Length: 1 - 100

      パラメータ:
        `versionLabel` - The application version deployed in this environment.

    - #### withVersionLabel

          public TerminateEnvironmentResult withVersionLabel(java.lang.String versionLabel)

      The application version deployed in this environment.

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

      Constraints:
      Length: 1 - 100

      パラメータ:
        `versionLabel` - The application version deployed in this environment.

    - #### getSolutionStackName

          public java.lang.String getSolutionStackName()

      The name of the `SolutionStack` deployed with this environment.

      Constraints:
      Length: 0 - 100

      戻り値:
        The name of the `SolutionStack` deployed with this environment.

    - #### setSolutionStackName

          public void setSolutionStackName(java.lang.String solutionStackName)

      The name of the `SolutionStack` deployed with this environment.

      Constraints:
      Length: 0 - 100

      パラメータ:
        `solutionStackName` - The name of the `SolutionStack` deployed with this environment.

    - #### withSolutionStackName

          public TerminateEnvironmentResult withSolutionStackName(java.lang.String solutionStackName)

      The name of the `SolutionStack` deployed with this environment.

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

      Constraints:
      Length: 0 - 100

      パラメータ:
        `solutionStackName` - The name of the `SolutionStack` deployed with this environment.

    - #### getTemplateName

          public java.lang.String getTemplateName()

      The name of the configuration template used to originally launch this environment.

      Constraints:
      Length: 1 - 100

      戻り値:
        The name of the configuration template used to originally launch this environment.

    - #### setTemplateName

          public void setTemplateName(java.lang.String templateName)

      The name of the configuration template used to originally launch this environment.

      Constraints:
      Length: 1 - 100

      パラメータ:
        `templateName` - The name of the configuration template used to originally launch this environment.

    - #### withTemplateName

          public TerminateEnvironmentResult withTemplateName(java.lang.String templateName)

      The name of the configuration template used to originally launch this environment.

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

      Constraints:
      Length: 1 - 100

      パラメータ:
        `templateName` - The name of the configuration template used to originally launch this environment.

    - #### getDescription

          public java.lang.String getDescription()

      Describes this environment.

      Constraints:
      Length: 0 - 200

      戻り値:
        Describes this environment.

    - #### setDescription

          public void setDescription(java.lang.String description)

      Describes this environment.

      Constraints:
      Length: 0 - 200

      パラメータ:
        `description` - Describes this environment.

    - #### withDescription

          public TerminateEnvironmentResult withDescription(java.lang.String description)

      Describes this environment.

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

      Constraints:
      Length: 0 - 200

      パラメータ:
        `description` - Describes this environment.

    - #### getEndpointURL

          public java.lang.String getEndpointURL()

      The URL to the LoadBalancer for this environment.
      戻り値:
        The URL to the LoadBalancer for this environment.

    - #### setEndpointURL

          public void setEndpointURL(java.lang.String endpointURL)

      The URL to the LoadBalancer for this environment.
      パラメータ:
        `endpointURL` - The URL to the LoadBalancer for this environment.

    - #### withEndpointURL

          public TerminateEnvironmentResult withEndpointURL(java.lang.String endpointURL)

      The URL to the LoadBalancer for this environment.

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

      パラメータ:
        `endpointURL` - The URL to the LoadBalancer for this environment.

    - #### getCNAME

          public java.lang.String getCNAME()

      The URL to the CNAME for this environment.

      Constraints:
      Length: 1 - 255

      戻り値:
        The URL to the CNAME for this environment.

    - #### setCNAME

          public void setCNAME(java.lang.String cNAME)

      The URL to the CNAME for this environment.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `cNAME` - The URL to the CNAME for this environment.

    - #### withCNAME

          public TerminateEnvironmentResult withCNAME(java.lang.String cNAME)

      The URL to the CNAME for this environment.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `cNAME` - The URL to the CNAME for this environment.

    - #### getDateCreated

          public java.util.Date getDateCreated()

      The creation date for this environment.
      戻り値:
        The creation date for this environment.

    - #### setDateCreated

          public void setDateCreated(java.util.Date dateCreated)

      The creation date for this environment.
      パラメータ:
        `dateCreated` - The creation date for this environment.

    - #### withDateCreated

          public TerminateEnvironmentResult withDateCreated(java.util.Date dateCreated)

      The creation date for this environment.

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

      パラメータ:
        `dateCreated` - The creation date for this environment.

    - #### getDateUpdated

          public java.util.Date getDateUpdated()

      The last modified date for this environment.
      戻り値:
        The last modified date for this environment.

    - #### setDateUpdated

          public void setDateUpdated(java.util.Date dateUpdated)

      The last modified date for this environment.
      パラメータ:
        `dateUpdated` - The last modified date for this environment.

    - #### withDateUpdated

          public TerminateEnvironmentResult withDateUpdated(java.util.Date dateUpdated)

      The last modified date for this environment.

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

      パラメータ:
        `dateUpdated` - The last modified date for this environment.

    - #### getStatus

          public java.lang.String getStatus()

      The current operational status of the environment:
      - `Launching`: Environment is in the process of initial deployment.
      - `Updating`: Environment is in the process of updating its configuration settings or application version.
      - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
      - `Terminating`: Environment is in the shut-down process.
      - `Terminated`: Environment is not running.

      Constraints:
      Allowed Values: Launching, Updating, Ready, Terminating, Terminated

      戻り値:
        The current operational status of the environment:
        - `Launching`: Environment is in the process of initial deployment.
        - `Updating`: Environment is in the process of updating its configuration settings or application version.
        - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
        - `Terminating`: Environment is in the shut-down process.
        - `Terminated`: Environment is not running.
      関連項目:
        `EnvironmentStatus`

    - #### setStatus

          public void setStatus(java.lang.String status)

      The current operational status of the environment:
      - `Launching`: Environment is in the process of initial deployment.
      - `Updating`: Environment is in the process of updating its configuration settings or application version.
      - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
      - `Terminating`: Environment is in the shut-down process.
      - `Terminated`: Environment is not running.

      Constraints:
      Allowed Values: Launching, Updating, Ready, Terminating, Terminated

      パラメータ:
        `status` - The current operational status of the environment:
        - `Launching`: Environment is in the process of initial deployment.
        - `Updating`: Environment is in the process of updating its configuration settings or application version.
        - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
        - `Terminating`: Environment is in the shut-down process.
        - `Terminated`: Environment is not running.
      関連項目:
        `EnvironmentStatus`

    - #### withStatus

          public TerminateEnvironmentResult withStatus(java.lang.String status)

      The current operational status of the environment:
      - `Launching`: Environment is in the process of initial deployment.
      - `Updating`: Environment is in the process of updating its configuration settings or application version.
      - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
      - `Terminating`: Environment is in the shut-down process.
      - `Terminated`: Environment is not running.

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

      Constraints:
      Allowed Values: Launching, Updating, Ready, Terminating, Terminated

      パラメータ:
        `status` - The current operational status of the environment:
        - `Launching`: Environment is in the process of initial deployment.
        - `Updating`: Environment is in the process of updating its configuration settings or application version.
        - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
        - `Terminating`: Environment is in the shut-down process.
        - `Terminated`: Environment is not running.
      関連項目:
        `EnvironmentStatus`

    - #### setStatus

          public void setStatus(EnvironmentStatus status)

      The current operational status of the environment:
      - `Launching`: Environment is in the process of initial deployment.
      - `Updating`: Environment is in the process of updating its configuration settings or application version.
      - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
      - `Terminating`: Environment is in the shut-down process.
      - `Terminated`: Environment is not running.

      Constraints:
      Allowed Values: Launching, Updating, Ready, Terminating, Terminated

      パラメータ:
        `status` - The current operational status of the environment:
        - `Launching`: Environment is in the process of initial deployment.
        - `Updating`: Environment is in the process of updating its configuration settings or application version.
        - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
        - `Terminating`: Environment is in the shut-down process.
        - `Terminated`: Environment is not running.
      関連項目:
        `EnvironmentStatus`

    - #### withStatus

          public TerminateEnvironmentResult withStatus(EnvironmentStatus status)

      The current operational status of the environment:
      - `Launching`: Environment is in the process of initial deployment.
      - `Updating`: Environment is in the process of updating its configuration settings or application version.
      - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
      - `Terminating`: Environment is in the shut-down process.
      - `Terminated`: Environment is not running.

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

      Constraints:
      Allowed Values: Launching, Updating, Ready, Terminating, Terminated

      パラメータ:
        `status` - The current operational status of the environment:
        - `Launching`: Environment is in the process of initial deployment.
        - `Updating`: Environment is in the process of updating its configuration settings or application version.
        - `Ready`: Environment is available to have an action performed on it, such as update or terminate.
        - `Terminating`: Environment is in the shut-down process.
        - `Terminated`: Environment is not running.
      関連項目:
        `EnvironmentStatus`

    - #### getHealth

          public java.lang.String getHealth()

      Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

      `Red` : Indicates the environment is not working.

      `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

      `Green`: Indicates the environment is healthy and fully functional.

      - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
      - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
      - `Green`: Indicates the environment is healthy and fully functional.
      - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

      Default: `Grey`

      Constraints:
      Allowed Values: Green, Yellow, Red, Grey

      戻り値:
        Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

        `Red` : Indicates the environment is not working.

        `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

        `Green`: Indicates the environment is healthy and fully functional.

        - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
        - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
        - `Green`: Indicates the environment is healthy and fully functional.
        - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

        Default: `Grey`

      関連項目:
        `EnvironmentHealth`

    - #### setHealth

          public void setHealth(java.lang.String health)

      Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

      `Red` : Indicates the environment is not working.

      `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

      `Green`: Indicates the environment is healthy and fully functional.

      - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
      - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
      - `Green`: Indicates the environment is healthy and fully functional.
      - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

      Default: `Grey`

      Constraints:
      Allowed Values: Green, Yellow, Red, Grey

      パラメータ:
        `health` - Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

        `Red` : Indicates the environment is not working.

        `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

        `Green`: Indicates the environment is healthy and fully functional.

        - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
        - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
        - `Green`: Indicates the environment is healthy and fully functional.
        - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

        Default: `Grey`

      関連項目:
        `EnvironmentHealth`

    - #### withHealth

          public TerminateEnvironmentResult withHealth(java.lang.String health)

      Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

      `Red` : Indicates the environment is not working.

      `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

      `Green`: Indicates the environment is healthy and fully functional.

      - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
      - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
      - `Green`: Indicates the environment is healthy and fully functional.
      - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

      Default: `Grey`

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

      Constraints:
      Allowed Values: Green, Yellow, Red, Grey

      パラメータ:
        `health` - Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

        `Red` : Indicates the environment is not working.

        `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

        `Green`: Indicates the environment is healthy and fully functional.

        - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
        - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
        - `Green`: Indicates the environment is healthy and fully functional.
        - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

        Default: `Grey`

      関連項目:
        `EnvironmentHealth`

    - #### setHealth

          public void setHealth(EnvironmentHealth health)

      Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

      `Red` : Indicates the environment is not working.

      `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

      `Green`: Indicates the environment is healthy and fully functional.

      - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
      - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
      - `Green`: Indicates the environment is healthy and fully functional.
      - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

      Default: `Grey`

      Constraints:
      Allowed Values: Green, Yellow, Red, Grey

      パラメータ:
        `health` - Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

        `Red` : Indicates the environment is not working.

        `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

        `Green`: Indicates the environment is healthy and fully functional.

        - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
        - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
        - `Green`: Indicates the environment is healthy and fully functional.
        - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

        Default: `Grey`

      関連項目:
        `EnvironmentHealth`

    - #### withHealth

          public TerminateEnvironmentResult withHealth(EnvironmentHealth health)

      Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

      `Red` : Indicates the environment is not working.

      `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

      `Green`: Indicates the environment is healthy and fully functional.

      - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
      - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
      - `Green`: Indicates the environment is healthy and fully functional.
      - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

      Default: `Grey`

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

      Constraints:
      Allowed Values: Green, Yellow, Red, Grey

      パラメータ:
        `health` - Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

        `Red` : Indicates the environment is not working.

        `Yellow`: Indicates that something is wrong, the application might not be available, but the instances appear running.

        `Green`: Indicates the environment is healthy and fully functional.

        - `Red`: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
        - `Yellow`: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
        - `Green`: Indicates the environment is healthy and fully functional.
        - `Grey`: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an `UpdateEnvironment` or `RestartEnvironement` request.

        Default: `Grey`

      関連項目:
        `EnvironmentHealth`

    - #### getResources

          public EnvironmentResourcesDescription getResources()

      The description of the AWS resources used by this environment.
      戻り値:
        The description of the AWS resources used by this environment.

    - #### setResources

          public void setResources(EnvironmentResourcesDescription resources)

      The description of the AWS resources used by this environment.
      パラメータ:
        `resources` - The description of the AWS resources used by this environment.

    - #### withResources

          public TerminateEnvironmentResult withResources(EnvironmentResourcesDescription resources)

      The description of the AWS resources used by this environment.

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

      パラメータ:
        `resources` - The description of the AWS resources used by this environment.

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