public class RevokeSnapshotAccessRequest extends AmazonWebServiceRequest implements 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 .
NOOP
Constructor and Description |
---|
RevokeSnapshotAccessRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccountWithRestoreAccess()
The identifier of the AWS customer account that can no longer restore
the specified snapshot.
|
String |
getSnapshotClusterIdentifier()
The identifier of the cluster the snapshot was created from.
|
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 |
setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from.
|
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 |
withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from.
|
RevokeSnapshotAccessRequest |
withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 getSnapshotClusterIdentifier()
public void setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
snapshotClusterIdentifier
- The identifier of the cluster the snapshot was created from. This
parameter is required if your IAM user has a policy containing a
snapshot resource element that specifies anything other than * for the
cluster name.public RevokeSnapshotAccessRequest withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
snapshotClusterIdentifier
- The identifier of the cluster the snapshot was created from. This
parameter is required if your IAM user has a policy containing a
snapshot resource element that specifies anything other than * for the
cluster name.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()
Copyright © 2015. All rights reserved.