public static interface DescribePolicyResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<DescribePolicyResponse.Builder,DescribePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribePolicyResponse.Builder |
policy(Consumer<Policy.Builder> policy)
A structure that contains details about the specified policy.
|
DescribePolicyResponse.Builder |
policy(Policy policy)
A structure that contains details about the specified policy.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribePolicyResponse.Builder policy(Policy policy)
A structure that contains details about the specified policy.
policy - A structure that contains details about the specified policy.default DescribePolicyResponse.Builder policy(Consumer<Policy.Builder> policy)
A structure that contains details about the specified policy.
This is a convenience method 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 © 2023. All rights reserved.