public class GetDataRetrievalPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetDataRetrievalPolicy operation.
This operation returns the current data retrieval policy for the account and region specified in the GET request. For more information about data retrieval policies, see Amazon Glacier Data Retrieval Policies .
NOOP| Constructor and Description |
|---|
GetDataRetrievalPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetDataRetrievalPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The
AccountId value is the AWS account ID. |
int |
hashCode() |
void |
setAccountId(String accountId)
The
AccountId value is the AWS account ID. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDataRetrievalPolicyRequest |
withAccountId(String accountId)
The
AccountId value is the AWS account ID. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getAccountId()
AccountId value is the AWS account ID. This value
must match the AWS account ID associated with the credentials used to
sign the request. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you specify your account ID, do not include
any hyphens ('-') in the ID.AccountId value is the AWS account ID. This value
must match the AWS account ID associated with the credentials used to
sign the request. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you specify your account ID, do not include
any hyphens ('-') in the ID.public void setAccountId(String accountId)
AccountId value is the AWS account ID. This value
must match the AWS account ID associated with the credentials used to
sign the request. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you specify your account ID, do not include
any hyphens ('-') in the ID.accountId - The AccountId value is the AWS account ID. This value
must match the AWS account ID associated with the credentials used to
sign the request. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you specify your account ID, do not include
any hyphens ('-') in the ID.public GetDataRetrievalPolicyRequest withAccountId(String accountId)
AccountId value is the AWS account ID. This value
must match the AWS account ID associated with the credentials used to
sign the request. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you specify your account ID, do not include
any hyphens ('-') in the ID.
Returns a reference to this object so that method calls can be chained together.
accountId - The AccountId value is the AWS account ID. This value
must match the AWS account ID associated with the credentials used to
sign the request. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you specify your account ID, do not include
any hyphens ('-') in the ID.public String toString()
toString in class ObjectObject.toString()public GetDataRetrievalPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.