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 is the AWS Account ID. |
int |
hashCode() |
void |
setAccountId(String accountId)
The
AccountId 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 is the AWS Account ID. |
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getAccountId()
AccountId
is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', 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
the dashes hyphens in it.AccountId
is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', 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
the dashes hyphens in it.public void setAccountId(String accountId)
AccountId
is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', 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
the dashes hyphens in it.accountId
- The AccountId
is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', 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
the dashes hyphens in it.public GetDataRetrievalPolicyRequest withAccountId(String accountId)
AccountId
is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', 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
the dashes hyphens in it.
Returns a reference to this object so that method calls can be chained together.
accountId
- The AccountId
is the AWS Account ID. You can specify
either the AWS Account ID or optionally a '-', 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
the dashes hyphens in it.public String toString()
toString
in class Object
Object.toString()
public GetDataRetrievalPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.