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 AWS Firewall Manager policy that was created.
|
PutPolicyResponse.Builder |
policy(Policy policy)
The details of the AWS Firewall Manager policy that was created.
|
PutPolicyResponse.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy that was created.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildPutPolicyResponse.Builder policy(Policy policy)
The details of the AWS Firewall Manager policy that was created.
policy - The details of the AWS Firewall Manager policy that was created.default PutPolicyResponse.Builder policy(Consumer<Policy.Builder> policy)
The details of the AWS Firewall Manager policy that was created.
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)PutPolicyResponse.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the policy that was created.
policyArn - The Amazon Resource Name (ARN) of the policy that was created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.