public class RevokeSnapshotAccessRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getSnapshotIdentifier()
public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)
snapshotIdentifier - The identifier of the snapshot that the account can no longer access.public RevokeSnapshotAccessRequest withSnapshotIdentifier(java.lang.String snapshotIdentifier)
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.public java.lang.String getAccountWithRestoreAccess()
public void setAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
accountWithRestoreAccess - The identifier of the AWS customer account that can no longer restore
the specified snapshot.public RevokeSnapshotAccessRequest withAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
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.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object