public static interface GetPolicyVersionResponse.Builder extends IamResponse.Builder, CopyableBuilder<GetPolicyVersionResponse.Builder,GetPolicyVersionResponse>
Modifier and Type | Method and Description |
---|---|
default GetPolicyVersionResponse.Builder |
policyVersion(Consumer<PolicyVersion.Builder> policyVersion)
A structure containing details about the policy version.
|
GetPolicyVersionResponse.Builder |
policyVersion(PolicyVersion policyVersion)
A structure containing details about the policy version.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetPolicyVersionResponse.Builder policyVersion(PolicyVersion policyVersion)
A structure containing details about the policy version.
policyVersion
- A structure containing details about the policy version.default GetPolicyVersionResponse.Builder policyVersion(Consumer<PolicyVersion.Builder> policyVersion)
A structure containing details about the policy version.
This is a convenience that creates an instance of thePolicyVersion.Builder
avoiding the need to
create one manually via PolicyVersion.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to policyVersion(PolicyVersion)
.policyVersion
- a consumer that will call methods on PolicyVersion.Builder
policyVersion(PolicyVersion)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.