public static interface UpdatePolicyResponse.Builder extends OrganizationsResponse.Builder, CopyableBuilder<UpdatePolicyResponse.Builder,UpdatePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default UpdatePolicyResponse.Builder |
policy(Consumer<Policy.Builder> policy)
A structure that contains details about the updated policy, showing the requested changes.
|
UpdatePolicyResponse.Builder |
policy(Policy policy)
A structure that contains details about the updated policy, showing the requested changes.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildUpdatePolicyResponse.Builder policy(Policy policy)
A structure that contains details about the updated policy, showing the requested changes.
policy - A structure that contains details about the updated policy, showing the requested changes.default UpdatePolicyResponse.Builder policy(Consumer<Policy.Builder> policy)
A structure that contains details about the updated policy, showing the requested changes.
This is a convenience that creates an instance of thePolicy.Builder avoiding the need to create one
manually via Policy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to policy(Policy).policy - a consumer that will call methods on Policy.Builderpolicy(Policy)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.