@Override
    public SetVaultAccessPolicyResult setVaultAccessPolicy(SetVaultAccessPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeSetVaultAccessPolicy(request);
    }
<p>
This operation configures an access policy for a vault and will overwrite an existing policy. To configure a
vault access policy, send a PUT request to the <code>access-policy</code> subresource of the vault. An access
policy is specific to a vault and is also called a vault subresource. You can set one access policy per vault and
the policy can be up to 20 KB in size. For more information about vault access policies, see <a
href="https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-access-policy.html">Amazon Glacier Access
Control with Vault Access Policies</a>.
</p>

@param setVaultAccessPolicyRequest
       SetVaultAccessPolicy input.
@return Result of the SetVaultAccessPolicy operation returned by the service.
@throws ResourceNotFoundException
        Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't exist.
@throws InvalidParameterValueException
        Returned if a parameter of the request is incorrectly specified.
@throws MissingParameterValueException
        Returned if a required header or parameter is missing from the request.
@throws ServiceUnavailableException
        Returned if the service cannot complete the request.
@sample AmazonGlacier.SetVaultAccessPolicy
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/AmazonGlacierClient.java