|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.AuthorizeSnapshotAccessRequest
public class AuthorizeSnapshotAccessRequest
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)
,
Serialized FormConstructor Summary | |
---|---|
AuthorizeSnapshotAccessRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAccountWithRestoreAccess()
The identifier of the AWS customer account authorized to restore the specified snapshot. |
String |
getSnapshotIdentifier()
The identifier of the snapshot the account is authorized to restore. |
int |
hashCode()
|
void |
setAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to restore the specified snapshot. |
void |
setSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AuthorizeSnapshotAccessRequest |
withAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to restore the specified snapshot. |
AuthorizeSnapshotAccessRequest |
withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthorizeSnapshotAccessRequest()
Method Detail |
---|
public String getSnapshotIdentifier()
public void setSnapshotIdentifier(String snapshotIdentifier)
snapshotIdentifier
- The identifier of the snapshot the account is authorized to restore.public AuthorizeSnapshotAccessRequest withSnapshotIdentifier(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 String getAccountWithRestoreAccess()
public void setAccountWithRestoreAccess(String accountWithRestoreAccess)
accountWithRestoreAccess
- The identifier of the AWS customer account authorized to restore the
specified snapshot.public AuthorizeSnapshotAccessRequest withAccountWithRestoreAccess(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |