Interface UpdateProxyRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProxyRuleRequest.Builder,,UpdateProxyRuleRequest> NetworkFirewallRequest.Builder,SdkBuilder<UpdateProxyRuleRequest.Builder,,UpdateProxyRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProxyRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionDepending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.action(ProxyRulePhaseAction action) Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.addConditions(Collection<ProxyRuleCondition> addConditions) Proxy rule conditions to add.addConditions(Consumer<ProxyRuleCondition.Builder>... addConditions) Proxy rule conditions to add.addConditions(ProxyRuleCondition... addConditions) Proxy rule conditions to add.description(String description) A description of the proxy rule.overrideConfiguration(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.proxyRuleName(String proxyRuleName) The descriptive name of the proxy rule.removeConditions(Collection<ProxyRuleCondition> removeConditions) Proxy rule conditions to remove.removeConditions(Consumer<ProxyRuleCondition.Builder>... removeConditions) Proxy rule conditions to remove.removeConditions(ProxyRuleCondition... removeConditions) Proxy rule conditions to remove.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.
-
proxyRuleName
The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.
- Parameters:
proxyRuleName- The descriptive name of the proxy rule. You can't change the name of a proxy rule 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.
- Parameters:
description- A description of the proxy rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.
- Parameters:
action- Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.
- Parameters:
action- Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addConditions
Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
- Parameters:
addConditions- Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addConditions
Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
- Parameters:
addConditions- Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addConditions
Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
This is a convenience method that creates an instance of theProxyRuleCondition.Builderavoiding the need to create one manually viaProxyRuleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddConditions(List<ProxyRuleCondition>).- Parameters:
addConditions- a consumer that will call methods onProxyRuleCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeConditions
Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
- Parameters:
removeConditions- Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeConditions
Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
- Parameters:
removeConditions- Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeConditions
UpdateProxyRuleRequest.Builder removeConditions(Consumer<ProxyRuleCondition.Builder>... removeConditions) Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
This is a convenience method that creates an instance of theProxyRuleCondition.Builderavoiding the need to create one manually viaProxyRuleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoveConditions(List<ProxyRuleCondition>).- Parameters:
removeConditions- a consumer that will call methods onProxyRuleCondition.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. The token marks the state of the proxy rule resource at the time of the request.
To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule 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 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. The token marks the state of the proxy rule resource at the time of the request.To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule 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 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
UpdateProxyRuleRequest.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
UpdateProxyRuleRequest.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.
-