@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeSnapshotAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RevokeSnapshotAccessRequest() |
Modifier and Type | Method and Description |
---|---|
RevokeSnapshotAccessRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountWithRestoreAccess()
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
|
String |
getSnapshotArn()
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
|
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 Amazon Web Services account that can no longer restore the specified snapshot.
|
void |
setSnapshotArn(String snapshotArn)
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
|
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.
|
RevokeSnapshotAccessRequest |
withAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
|
RevokeSnapshotAccessRequest |
withSnapshotArn(String snapshotArn)
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSnapshotIdentifier(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 String getSnapshotIdentifier()
The identifier of the snapshot that the account can no longer access.
public RevokeSnapshotAccessRequest withSnapshotIdentifier(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 setSnapshotArn(String snapshotArn)
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
snapshotArn
- The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.public String getSnapshotArn()
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
public RevokeSnapshotAccessRequest withSnapshotArn(String snapshotArn)
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
snapshotArn
- The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.public void setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user or role 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
or role has a policy containing a snapshot resource element that specifies anything other than * for the
cluster name.public String getSnapshotClusterIdentifier()
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user or role has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
public RevokeSnapshotAccessRequest withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user or role 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
or role has a policy containing a snapshot resource element that specifies anything other than * for the
cluster name.public void setAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
accountWithRestoreAccess
- The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.public String getAccountWithRestoreAccess()
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
public RevokeSnapshotAccessRequest withAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
accountWithRestoreAccess
- The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.public String toString()
toString
in class Object
Object.toString()
public RevokeSnapshotAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()