Interface UpdateProxyRulePrioritiesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProxyRulePrioritiesRequest.Builder,,UpdateProxyRulePrioritiesRequest> NetworkFirewallRequest.Builder,SdkBuilder<UpdateProxyRulePrioritiesRequest.Builder,,UpdateProxyRulePrioritiesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProxyRulePrioritiesRequest
-
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.ruleGroupRequestPhase(String ruleGroupRequestPhase) Evaluation points in the traffic flow where rules are applied.ruleGroupRequestPhase(RuleGroupRequestPhase ruleGroupRequestPhase) Evaluation points in the traffic flow where rules are applied.rules(Collection<ProxyRulePriority> rules) proxy rule resources to update to new positions.rules(Consumer<ProxyRulePriority.Builder>... rules) proxy rule resources to update to new positions.rules(ProxyRulePriority... rules) proxy rule resources to update to new positions.updateToken(String updateToken) A token used for optimistic locking.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.
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.
-
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.
-
ruleGroupRequestPhase
Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.
- Parameters:
ruleGroupRequestPhase- Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleGroupRequestPhase
UpdateProxyRulePrioritiesRequest.Builder ruleGroupRequestPhase(RuleGroupRequestPhase ruleGroupRequestPhase) Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.
- Parameters:
ruleGroupRequestPhase- Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rules
proxy rule resources to update to new positions.
- Parameters:
rules- proxy rule resources to update to new positions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
proxy rule resources to update to new positions.
- Parameters:
rules- proxy rule resources to update to new positions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
proxy rule resources to update to new positions.
This is a convenience method that creates an instance of theProxyRulePriority.Builderavoiding the need to create one manually viaProxyRulePriority.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<ProxyRulePriority>).- Parameters:
rules- a consumer that will call methods onProxyRulePriority.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateToken
A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request.
To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.- Parameters:
updateToken- A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request.To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateProxyRulePrioritiesRequest.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
UpdateProxyRulePrioritiesRequest.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.
-