public static interface PutPolicyRequest.Builder extends FmsRequest.Builder, SdkPojo, CopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>
Modifier and Type | Method and Description |
---|---|
PutPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default PutPolicyRequest.Builder |
policy(Consumer<Policy.Builder> policy)
The details of the AWS Firewall Manager policy to be created.
|
PutPolicyRequest.Builder |
policy(Policy policy)
The details of the AWS Firewall Manager policy to be created.
|
build
overrideConfiguration
copy
applyMutation, build
PutPolicyRequest.Builder policy(Policy policy)
The details of the AWS Firewall Manager policy to be created.
policy
- The details of the AWS Firewall Manager policy to be created.default PutPolicyRequest.Builder policy(Consumer<Policy.Builder> policy)
The details of the AWS Firewall Manager policy to be 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.Builder
policy(Policy)
PutPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.