|
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.RevokeSnapshotAccessRequest
public class RevokeSnapshotAccessRequest
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)
,
Serialized FormConstructor Summary | |
---|---|
RevokeSnapshotAccessRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAccountWithRestoreAccess()
The identifier of the AWS customer account that can no longer restore the specified snapshot. |
String |
getSnapshotIdentifier()
The identifier of the snapshot that the account can no longer access. |
int |
hashCode()
|
void |
setAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account that can no longer restore the specified snapshot. |
void |
setSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RevokeSnapshotAccessRequest |
withAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account that can no longer restore the specified snapshot. |
RevokeSnapshotAccessRequest |
withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access. |
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 RevokeSnapshotAccessRequest()
Method Detail |
---|
public String getSnapshotIdentifier()
public void setSnapshotIdentifier(String snapshotIdentifier)
snapshotIdentifier
- The identifier of the snapshot that the account can no longer access.public RevokeSnapshotAccessRequest withSnapshotIdentifier(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 String getAccountWithRestoreAccess()
public void setAccountWithRestoreAccess(String accountWithRestoreAccess)
accountWithRestoreAccess
- The identifier of the AWS customer account that can no longer restore
the specified snapshot.public RevokeSnapshotAccessRequest 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 that can no longer 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 |