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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default PutPolicyRequest.Builderpolicy(Consumer<Policy.Builder> policy)The details of the Firewall Manager policy to be created.PutPolicyRequest.Builderpolicy(Policy policy)The details of the Firewall Manager policy to be created.PutPolicyRequest.BuildertagList(Collection<Tag> tagList)The tags to add to the Amazon Web Services resource.PutPolicyRequest.BuildertagList(Consumer<Tag.Builder>... tagList)The tags to add to the Amazon Web Services resource.PutPolicyRequest.BuildertagList(Tag... tagList)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 Detail
-
policy
PutPolicyRequest.Builder policy(Policy 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
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.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,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:
policy(Policy)
-
tagList
PutPolicyRequest.Builder tagList(Collection<Tag> 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
PutPolicyRequest.Builder tagList(Tag... 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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagList(List.) - 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:
#tagList(java.util.Collection)
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-