public static interface CreatePolicyVersionResponse.Builder extends IAMResponse.Builder, CopyableBuilder<CreatePolicyVersionResponse.Builder,CreatePolicyVersionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreatePolicyVersionResponse.Builder |
policyVersion(Consumer<PolicyVersion.Builder> policyVersion)
A structure containing details about the new policy version.
|
CreatePolicyVersionResponse.Builder |
policyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreatePolicyVersionResponse.Builder policyVersion(PolicyVersion policyVersion)
A structure containing details about the new policy version.
policyVersion - A structure containing details about the new policy version.default CreatePolicyVersionResponse.Builder policyVersion(Consumer<PolicyVersion.Builder> policyVersion)
A structure containing details about the new 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.BuilderpolicyVersion(PolicyVersion)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.