public static interface GetVaultAccessPolicyResponse.Builder extends GlacierResponse.Builder, CopyableBuilder<GetVaultAccessPolicyResponse.Builder,GetVaultAccessPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetVaultAccessPolicyResponse.Builder |
policy(Consumer<VaultAccessPolicy.Builder> policy)
Contains the returned vault access policy as a JSON string.
|
GetVaultAccessPolicyResponse.Builder |
policy(VaultAccessPolicy policy)
Contains the returned vault access policy as a JSON string.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetVaultAccessPolicyResponse.Builder policy(VaultAccessPolicy policy)
Contains the returned vault access policy as a JSON string.
policy - Contains the returned vault access policy as a JSON string.default GetVaultAccessPolicyResponse.Builder policy(Consumer<VaultAccessPolicy.Builder> policy)
Contains the returned vault access policy as a JSON string.
This is a convenience that creates an instance of theVaultAccessPolicy.Builder avoiding the need to
create one manually via VaultAccessPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policy(VaultAccessPolicy).policy - a consumer that will call methods on VaultAccessPolicy.Builderpolicy(VaultAccessPolicy)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.