public class AuthorizeSnapshotAccessRequest 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 authorized to 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 the account is authorized to restore.
|
NOOP
Constructor and Description |
---|
AuthorizeSnapshotAccessRequest() |
Modifier and Type | Method and Description |
---|---|
AuthorizeSnapshotAccessRequest |
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 authorized to 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 the account is authorized to restore.
|
int |
hashCode() |
void |
setAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to 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 the account is authorized to restore.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuthorizeSnapshotAccessRequest |
withAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to restore the
specified snapshot.
|
AuthorizeSnapshotAccessRequest |
withSnapshotClusterIdentifier(java.lang.String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from.
|
AuthorizeSnapshotAccessRequest |
withSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore.
|
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 the account is authorized to restore.
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 authorized to restore the specified snapshot.
public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore.
snapshotIdentifier
- The identifier of the snapshot the account is authorized to
restore.public java.lang.String getSnapshotIdentifier()
The identifier of the snapshot the account is authorized to restore.
public AuthorizeSnapshotAccessRequest withSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore.
snapshotIdentifier
- The identifier of the snapshot the account is authorized to
restore.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 AuthorizeSnapshotAccessRequest 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 authorized to restore the specified snapshot.
accountWithRestoreAccess
- The identifier of the AWS customer account authorized to restore
the specified snapshot.public java.lang.String getAccountWithRestoreAccess()
The identifier of the AWS customer account authorized to restore the specified snapshot.
public AuthorizeSnapshotAccessRequest withAccountWithRestoreAccess(java.lang.String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to restore the specified snapshot.
accountWithRestoreAccess
- The identifier of the AWS customer account authorized to 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 AuthorizeSnapshotAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()