public static interface PutPolicyResponse.Builder extends FmsResponse.Builder, SdkPojo, CopyableBuilder<PutPolicyResponse.Builder,PutPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default PutPolicyResponse.Builder |
policy(Consumer<Policy.Builder> policy)
The details of the Firewall Manager policy.
|
PutPolicyResponse.Builder |
policy(Policy policy)
The details of the Firewall Manager policy.
|
PutPolicyResponse.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutPolicyResponse.Builder policy(Policy policy)
The details of the Firewall Manager policy.
policy - The details of the Firewall Manager policy.default PutPolicyResponse.Builder policy(Consumer<Policy.Builder> policy)
The details of the Firewall Manager 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)PutPolicyResponse.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy.
policyArn - The Amazon Resource Name (ARN) of the policy.Copyright © 2022. All rights reserved.