public class AuthorizeSnapshotAccessRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getSnapshotIdentifier()
public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)
snapshotIdentifier - The identifier of the snapshot the account is authorized to restore.public AuthorizeSnapshotAccessRequest 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 the account is authorized to restore.public java.lang.String getAccountWithRestoreAccess()
public void setAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
accountWithRestoreAccess - The identifier of the AWS customer account authorized to restore the
specified snapshot.public AuthorizeSnapshotAccessRequest 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 authorized to 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