Interface CreateProxyRuleGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProxyRuleGroupRequest.Builder,,CreateProxyRuleGroupRequest> NetworkFirewallRequest.Builder,SdkBuilder<CreateProxyRuleGroupRequest.Builder,,CreateProxyRuleGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProxyRuleGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the proxy rule group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.proxyRuleGroupName(String proxyRuleGroupName) The descriptive name of the proxy rule group.Individual rules that define match conditions and actions for application-layer traffic.rules(ProxyRulesByRequestPhase rules) Individual rules that define match conditions and actions for application-layer traffic.tags(Collection<Tag> tags) The key:value pairs to associate with the resource.tags(Consumer<Tag.Builder>... tags) The key:value pairs to associate with the resource.The key:value pairs to associate with the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
proxyRuleGroupName
The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.
- Parameters:
proxyRuleGroupName- The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the proxy rule group.
- Parameters:
description- A description of the proxy rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).
- Parameters:
rules- Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).
This is a convenience method that creates an instance of theProxyRulesByRequestPhase.Builderavoiding the need to create one manually viaProxyRulesByRequestPhase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(ProxyRulesByRequestPhase).- Parameters:
rules- a consumer that will call methods onProxyRulesByRequestPhase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the 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 totags(List<Tag>).- Parameters:
tags- 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
CreateProxyRuleGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProxyRuleGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-