public static interface GetPolicyVersionResponse.Builder extends IamResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetPolicyVersionResponse.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 method 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.BuilderpolicyVersion(PolicyVersion)Copyright © 2022. All rights reserved.