com.amazonaws.services.redshift.model

## クラス AuthorizeSnapshotAccessRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.redshift.model.AuthorizeSnapshotAccessRequest

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

      public class AuthorizeSnapshotAccessRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `AuthorizeSnapshotAccess operation`.

  Authorizes the specified AWS customer account to restore the specified snapshot.

  For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Management Guide .

  関連項目:
    `AmazonRedshift.authorizeSnapshotAccess(AuthorizeSnapshotAccessRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAccountWithRestoreAccess()` The identifier of the AWS customer account authorized to restore the specified snapshot.
    `java.lang.String` | `getSnapshotIdentifier()` The identifier of the snapshot the account is authorized to restore.
    `int` | `hashCode()`
    `void` | `setAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)` The identifier of the AWS customer account authorized to restore the specified snapshot.
    `void` | `setSnapshotIdentifier(java.lang.String snapshotIdentifier)` The identifier of the snapshot the account is authorized to restore.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AuthorizeSnapshotAccessRequest` | `withAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)` The identifier of the AWS customer account authorized to restore the specified snapshot.
    `AuthorizeSnapshotAccessRequest` | `withSnapshotIdentifier(java.lang.String snapshotIdentifier)` The identifier of the snapshot the account is authorized to restore.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### AuthorizeSnapshotAccessRequest

          public AuthorizeSnapshotAccessRequest()

  - ### メソッドの詳細

    - #### getSnapshotIdentifier

          public java.lang.String getSnapshotIdentifier()

      The identifier of the snapshot the account is authorized to restore.
      戻り値:
        The identifier of the snapshot the account is authorized to restore.

    - #### setSnapshotIdentifier

          public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)

      The identifier of the snapshot the account is authorized to restore.
      パラメータ:
        `snapshotIdentifier` - The identifier of the snapshot the account is authorized to restore.

    - #### withSnapshotIdentifier

          public AuthorizeSnapshotAccessRequest withSnapshotIdentifier(java.lang.String snapshotIdentifier)

      The identifier of the snapshot the account is authorized to restore.

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

      パラメータ:
        `snapshotIdentifier` - The identifier of the snapshot the account is authorized to restore.

    - #### getAccountWithRestoreAccess

          public java.lang.String getAccountWithRestoreAccess()

      The identifier of the AWS customer account authorized to restore the specified snapshot.
      戻り値:
        The identifier of the AWS customer account authorized to restore the specified snapshot.

    - #### setAccountWithRestoreAccess

          public void setAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)

      The identifier of the AWS customer account authorized to restore the specified snapshot.
      パラメータ:
        `accountWithRestoreAccess` - The identifier of the AWS customer account authorized to restore the specified snapshot.

    - #### withAccountWithRestoreAccess

          public AuthorizeSnapshotAccessRequest withAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)

      The identifier of the AWS customer account authorized to restore the specified snapshot.

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

      パラメータ:
        `accountWithRestoreAccess` - The identifier of the AWS customer account authorized to restore the specified snapshot.

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