com.amazonaws.services.storagegateway.model

## クラス CreateSnapshotFromVolumeRecoveryPointRequest

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

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

      public class CreateSnapshotFromVolumeRecoveryPointRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateSnapshotFromVolumeRecoveryPoint operation`.

  This operation initiates a snapshot of a gateway from a volume recovery point. This operation is supported only for the gateway-cached volume architecture (see StorageGatewayConcepts).

  A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To get a list of volume recovery point for gateway-cached volumes, use ListVolumeRecoveryPoints.

  In the `CreateSnapshotFromVolumeRecoveryPoint` request, you identify the volume by providing its Amazon Resource Name (ARN). You must also provide a description for the snapshot. When AWS Storage Gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot.

  NOTE: To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DeleteSnapshot and DescribeSnapshots in Amazon Elastic Compute Cloud API Reference.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getSnapshotDescription()` A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.
    `java.lang.String` | `getVolumeARN()` The Amazon Resource Name (ARN) of the volume.
    `int` | `hashCode()`
    `void` | `setSnapshotDescription(java.lang.String snapshotDescription)` A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.
    `void` | `setVolumeARN(java.lang.String volumeARN)` The Amazon Resource Name (ARN) of the volume.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateSnapshotFromVolumeRecoveryPointRequest` | `withSnapshotDescription(java.lang.String snapshotDescription)` A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.
    `CreateSnapshotFromVolumeRecoveryPointRequest` | `withVolumeARN(java.lang.String volumeARN)` The Amazon Resource Name (ARN) of the volume.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateSnapshotFromVolumeRecoveryPointRequest

          public CreateSnapshotFromVolumeRecoveryPointRequest()

  - ### メソッドの詳細

    - #### getVolumeARN

          public java.lang.String getVolumeARN()

      The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

      Constraints:
      Length: 50 - 500

      戻り値:
        The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    - #### setVolumeARN

          public void setVolumeARN(java.lang.String volumeARN)

      The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

      Constraints:
      Length: 50 - 500

      パラメータ:
        `volumeARN` - The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    - #### withVolumeARN

          public CreateSnapshotFromVolumeRecoveryPointRequest withVolumeARN(java.lang.String volumeARN)

      The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

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

      Constraints:
      Length: 50 - 500

      パラメータ:
        `volumeARN` - The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

    - #### getSnapshotDescription

          public java.lang.String getSnapshotDescription()

      A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.

      Length: Minimum length of 1. Maximum length of 255.

      Constraints:
      Length: 1 - 255

      戻り値:
        A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.

        Length: Minimum length of 1. Maximum length of 255.

    - #### setSnapshotDescription

          public void setSnapshotDescription(java.lang.String snapshotDescription)

      A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.

      Length: Minimum length of 1. Maximum length of 255.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `snapshotDescription` - A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.

        Length: Minimum length of 1. Maximum length of 255.

    - #### withSnapshotDescription

          public CreateSnapshotFromVolumeRecoveryPointRequest withSnapshotDescription(java.lang.String snapshotDescription)

      A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.

      Length: Minimum length of 1. Maximum length of 255.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `snapshotDescription` - A textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field.

        Length: Minimum length of 1. Maximum length of 255.

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