public class AuthorizeSnapshotAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AuthorizeSnapshotAccessRequest() |
Modifier and Type | Method and Description |
---|---|
AuthorizeSnapshotAccessRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAccountWithRestoreAccess()
The identifier of the AWS customer account authorized to restore the
specified snapshot.
|
String |
getSnapshotClusterIdentifier()
The identifier of the cluster the snapshot was created from.
|
String |
getSnapshotIdentifier()
The identifier of the snapshot the account is authorized to restore.
|
int |
hashCode() |
void |
setAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to 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 the account is authorized to restore.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuthorizeSnapshotAccessRequest |
withAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account authorized to restore the
specified snapshot.
|
AuthorizeSnapshotAccessRequest |
withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
The identifier of the cluster the snapshot was created from.
|
AuthorizeSnapshotAccessRequest |
withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot the account is authorized to restore.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSnapshotIdentifier(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 String getSnapshotIdentifier()
The identifier of the snapshot the account is authorized to restore.
public AuthorizeSnapshotAccessRequest withSnapshotIdentifier(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(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 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(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(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 String getAccountWithRestoreAccess()
The identifier of the AWS customer account authorized to restore the specified snapshot.
public AuthorizeSnapshotAccessRequest withAccountWithRestoreAccess(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 String toString()
toString
in class Object
Object.toString()
public AuthorizeSnapshotAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.