com.amazonaws.services.redshift.model

## クラス RevokeSnapshotAccessRequest

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

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

      public class RevokeSnapshotAccessRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `RevokeSnapshotAccess operation`.

  Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.

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

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

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

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

  - ### メソッドの概要

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

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### RevokeSnapshotAccessRequest

          public RevokeSnapshotAccessRequest()

  - ### メソッドの詳細

    - #### getSnapshotIdentifier

          public java.lang.String getSnapshotIdentifier()

      The identifier of the snapshot that the account can no longer access.
      戻り値:
        The identifier of the snapshot that the account can no longer access.

    - #### setSnapshotIdentifier

          public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)

      The identifier of the snapshot that the account can no longer access.
      パラメータ:
        `snapshotIdentifier` - The identifier of the snapshot that the account can no longer access.

    - #### withSnapshotIdentifier

          public RevokeSnapshotAccessRequest withSnapshotIdentifier(java.lang.String snapshotIdentifier)

      The identifier of the snapshot that the account can no longer access.

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

      パラメータ:
        `snapshotIdentifier` - The identifier of the snapshot that the account can no longer access.

    - #### getAccountWithRestoreAccess

          public java.lang.String getAccountWithRestoreAccess()

      The identifier of the AWS customer account that can no longer restore the specified snapshot.
      戻り値:
        The identifier of the AWS customer account that can no longer restore the specified snapshot.

    - #### setAccountWithRestoreAccess

          public void setAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)

      The identifier of the AWS customer account that can no longer restore the specified snapshot.
      パラメータ:
        `accountWithRestoreAccess` - The identifier of the AWS customer account that can no longer restore the specified snapshot.

    - #### withAccountWithRestoreAccess

          public RevokeSnapshotAccessRequest withAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)

      The identifier of the AWS customer account that can no longer 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 that can no longer 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`