public static interface PutPolicyRequest.Builder extends FmsRequest.Builder, SdkPojo, CopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default PutPolicyRequest.Builder |
policy(Consumer<Policy.Builder> policy)
The details of the Firewall Manager policy to be created.
|
PutPolicyRequest.Builder |
policy(Policy policy)
The details of the Firewall Manager policy to be created.
|
PutPolicyRequest.Builder |
tagList(Collection<Tag> tagList)
The tags to add to the Amazon Web Services resource.
|
PutPolicyRequest.Builder |
tagList(Consumer<Tag.Builder>... tagList)
The tags to add to the Amazon Web Services resource.
|
PutPolicyRequest.Builder |
tagList(Tag... tagList)
The tags to add to the Amazon Web Services resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutPolicyRequest.Builder policy(Policy policy)
The details of the Firewall Manager policy to be created.
policy - The details of the Firewall Manager policy to be created.default PutPolicyRequest.Builder policy(Consumer<Policy.Builder> policy)
The details of the Firewall Manager policy to be created.
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)PutPolicyRequest.Builder tagList(Collection<Tag> tagList)
The tags to add to the Amazon Web Services resource.
tagList - The tags to add to the Amazon Web Services resource.PutPolicyRequest.Builder tagList(Tag... tagList)
The tags to add to the Amazon Web Services resource.
tagList - The tags to add to the Amazon Web Services resource.PutPolicyRequest.Builder tagList(Consumer<Tag.Builder>... tagList)
The tags to add to the Amazon Web Services resource.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tagList(List.
tagList - a consumer that will call methods on Tag.Builder#tagList(java.util.Collection) PutPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.