CopyableBuilder<SetVaultAccessPolicyRequest.Builder,SetVaultAccessPolicyRequest>, SdkBuilder<SetVaultAccessPolicyRequest.Builder,SetVaultAccessPolicyRequest>public static interface SetVaultAccessPolicyRequest.Builder extends CopyableBuilder<SetVaultAccessPolicyRequest.Builder,SetVaultAccessPolicyRequest>
| Modifier and Type | Method | Description |
|---|---|---|
SetVaultAccessPolicyRequest.Builder |
accountId(String accountId) |
The
AccountId value is the AWS account ID of the account that owns the vault. |
SetVaultAccessPolicyRequest.Builder |
policy(VaultAccessPolicy policy) |
The vault access policy as a JSON string.
|
SetVaultAccessPolicyRequest.Builder |
vaultName(String vaultName) |
The name of the vault.
|
copyapply, buildSetVaultAccessPolicyRequest.Builder accountId(String accountId)
The AccountId value is the AWS account ID of the account that owns the vault. 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 use an account ID, do not
include any hyphens ('-') in the ID.
accountId - The AccountId value is the AWS account ID of the account that owns the vault. 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 use an account ID, do not include any hyphens ('-') in the ID.SetVaultAccessPolicyRequest.Builder vaultName(String vaultName)
The name of the vault.
vaultName - The name of the vault.SetVaultAccessPolicyRequest.Builder policy(VaultAccessPolicy policy)
The vault access policy as a JSON string.
policy - The vault access policy as a JSON string.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.