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