com.amazonaws.services.storagegateway.model

## クラス ShutdownGatewayRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.storagegateway.model.ShutdownGatewayRequest

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

      public class ShutdownGatewayRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ShutdownGateway operation`.

  This operation shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource Name (ARN) of the gateway in the body of your request.

  The operation shuts down the gateway service component running in the storage gateway's virtual machine (VM) and not the VM.

  NOTE:If you want to shut down the VM, it is recommended that you first shut down the gateway component in the VM to avoid unpredictable conditions.

  After the gateway is shutdown, you cannot call any other API except StartGateway, DescribeGatewayInformation, and ListGateways. For more information, see ActivateGateway. Your applications cannot read from or write to the gateway's storage volumes, and there are no snapshots taken.

  NOTE:When you make a shutdown request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to shut down. You can call the DescribeGatewayInformation API to check the status. For more information, see ActivateGateway.

  If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway) to no longer pay software charges associated with the gateway.

  関連項目:
    `AWSStorageGateway.shutdownGateway(ShutdownGatewayRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getGatewayARN()` The Amazon Resource Name (ARN) of the gateway.
    `int` | `hashCode()`
    `void` | `setGatewayARN(java.lang.String gatewayARN)` The Amazon Resource Name (ARN) of the gateway.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ShutdownGatewayRequest` | `withGatewayARN(java.lang.String gatewayARN)` The Amazon Resource Name (ARN) of the gateway.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ShutdownGatewayRequest

          public ShutdownGatewayRequest()

  - ### メソッドの詳細

    - #### getGatewayARN

          public java.lang.String getGatewayARN()

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Constraints:
      Length: 50 - 500

      戻り値:
        The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

    - #### setGatewayARN

          public void setGatewayARN(java.lang.String gatewayARN)

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Constraints:
      Length: 50 - 500

      パラメータ:
        `gatewayARN` - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

    - #### withGatewayARN

          public ShutdownGatewayRequest withGatewayARN(java.lang.String gatewayARN)

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

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

      Constraints:
      Length: 50 - 500

      パラメータ:
        `gatewayARN` - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

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