public static interface PutAccountPolicyResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<PutAccountPolicyResponse.Builder,PutAccountPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
PutAccountPolicyResponse.Builder |
accountPolicy(AccountPolicy accountPolicy)
The account policy that you created.
|
default PutAccountPolicyResponse.Builder |
accountPolicy(Consumer<AccountPolicy.Builder> accountPolicy)
The account policy that you created.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutAccountPolicyResponse.Builder accountPolicy(AccountPolicy accountPolicy)
The account policy that you created.
accountPolicy - The account policy that you created.default PutAccountPolicyResponse.Builder accountPolicy(Consumer<AccountPolicy.Builder> accountPolicy)
The account policy that you created.
This is a convenience method that creates an instance of theAccountPolicy.Builder avoiding the need
to create one manually via AccountPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to accountPolicy(AccountPolicy).
accountPolicy - a consumer that will call methods on AccountPolicy.BuilderaccountPolicy(AccountPolicy)Copyright © 2023. All rights reserved.