Interface PutPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutPolicyRequest.Builder,
,PutPolicyRequest> FmsRequest.Builder
,SdkBuilder<PutPolicyRequest.Builder,
,PutPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutPolicyRequest
public static interface PutPolicyRequest.Builder
extends FmsRequest.Builder, SdkPojo, CopyableBuilder<PutPolicyRequest.Builder,PutPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default PutPolicyRequest.Builder
policy
(Consumer<Policy.Builder> policy) The details of the Firewall Manager policy to be created.The details of the Firewall Manager policy to be created.tagList
(Collection<Tag> tagList) The tags to add to the Amazon Web Services resource.tagList
(Consumer<Tag.Builder>... tagList) The tags to add to the Amazon Web Services resource.The tags to add to the Amazon Web Services resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
policy
The details of the Firewall Manager policy to be created.
- Parameters:
policy
- The details of the Firewall Manager policy to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicy(Policy)
.- Parameters:
policy
- a consumer that will call methods onPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagList
The tags to add to the Amazon Web Services resource.
- Parameters:
tagList
- The tags to add to the Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
The tags to add to the Amazon Web Services resource.
- Parameters:
tagList
- The tags to add to the Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagList(List<Tag>)
.- Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-