public class RevokeSnapshotAccessRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accountWithRestoreAccess
The identifier of the AWS customer account that can no longer restore the
specified snapshot.
|
private java.lang.String |
snapshotClusterIdentifier
The identifier of the cluster the snapshot was created from.
|
private java.lang.String |
snapshotIdentifier
The identifier of the snapshot that the account can no longer access.
|
NOOP
Constructor and Description |
---|
RevokeSnapshotAccessRequest() |
Modifier and Type | Method and Description |
---|---|
RevokeSnapshotAccessRequest |
clone()
Creates a shallow clone of this request.
|
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 |
getSnapshotClusterIdentifier()
The identifier of the cluster the snapshot was created from.
|
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 |
setSnapshotClusterIdentifier(java.lang.String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from.
|
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 |
withSnapshotClusterIdentifier(java.lang.String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from.
|
RevokeSnapshotAccessRequest |
withSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String snapshotIdentifier
The identifier of the snapshot that the account can no longer access.
private java.lang.String 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.
private java.lang.String accountWithRestoreAccess
The identifier of the AWS customer account that can no longer restore the specified snapshot.
public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access.
snapshotIdentifier
- The identifier of the snapshot that the account can no longer
access.public java.lang.String getSnapshotIdentifier()
The identifier of the snapshot that the account can no longer access.
public RevokeSnapshotAccessRequest withSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access.
snapshotIdentifier
- The identifier of the snapshot that the account can no longer
access.public void setSnapshotClusterIdentifier(java.lang.String 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.
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 java.lang.String getSnapshotClusterIdentifier()
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(java.lang.String 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.
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 void setAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
The identifier of the AWS customer account that can no longer restore the specified snapshot.
accountWithRestoreAccess
- The identifier of the AWS customer account that can no longer
restore the specified snapshot.public java.lang.String getAccountWithRestoreAccess()
The identifier of the AWS customer account that can no longer restore the specified snapshot.
public RevokeSnapshotAccessRequest withAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
The identifier of the AWS customer account that can no longer restore the specified snapshot.
accountWithRestoreAccess
- The identifier of the AWS customer account that can no longer
restore the specified snapshot.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RevokeSnapshotAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()