Interface CreateProxyRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProxyRulesRequest.Builder,,CreateProxyRulesRequest> NetworkFirewallRequest.Builder,SdkBuilder<CreateProxyRulesRequest.Builder,,CreateProxyRulesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProxyRulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.proxyRuleGroupArn(String proxyRuleGroupArn) The Amazon Resource Name (ARN) of a proxy rule group.proxyRuleGroupName(String proxyRuleGroupName) The descriptive name of the proxy rule group.default CreateProxyRulesRequest.BuilderIndividual rules that define match conditions and actions for application-layer traffic.Individual rules that define match conditions and actions for application-layer traffic.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
-
proxyRuleGroupArn
The Amazon Resource Name (ARN) of a proxy rule group.
You must specify the ARN or the name, and you can specify both.
- Parameters:
proxyRuleGroupArn- The Amazon Resource Name (ARN) of a proxy rule group.You must specify the ARN or the name, and you can specify both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxyRuleGroupName
The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.
You must specify the ARN or the name, and you can specify both.
- 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.You must specify the ARN or the name, and you can specify both.
- 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
default CreateProxyRulesRequest.Builder rules(Consumer<CreateProxyRulesByRequestPhase.Builder> 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 theCreateProxyRulesByRequestPhase.Builderavoiding the need to create one manually viaCreateProxyRulesByRequestPhase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(CreateProxyRulesByRequestPhase).- Parameters:
rules- a consumer that will call methods onCreateProxyRulesByRequestPhase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateProxyRulesRequest.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
CreateProxyRulesRequest.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.
-