CopyableBuilder<SetDataRetrievalPolicyRequest.Builder,SetDataRetrievalPolicyRequest>
, SdkBuilder<SetDataRetrievalPolicyRequest.Builder,SetDataRetrievalPolicyRequest>
public static interface SetDataRetrievalPolicyRequest.Builder extends CopyableBuilder<SetDataRetrievalPolicyRequest.Builder,SetDataRetrievalPolicyRequest>
Modifier and Type | Method | Description |
---|---|---|
SetDataRetrievalPolicyRequest.Builder |
accountId(String accountId) |
The
AccountId value is the AWS account ID. |
SetDataRetrievalPolicyRequest.Builder |
policy(DataRetrievalPolicy policy) |
The data retrieval policy in JSON format.
|
copy
apply, build
SetDataRetrievalPolicyRequest.Builder accountId(String 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.
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.SetDataRetrievalPolicyRequest.Builder policy(DataRetrievalPolicy policy)
The data retrieval policy in JSON format.
policy
- The data retrieval policy in JSON format.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.