Interface UpdateProxyRuleRequest.Builder

  • Method Details

    • proxyRuleGroupName

      UpdateProxyRuleRequest.Builder proxyRuleGroupName(String 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

      UpdateProxyRuleRequest.Builder proxyRuleGroupArn(String 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

      UpdateProxyRuleRequest.Builder proxyRuleName(String 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

      UpdateProxyRuleRequest.Builder description(String 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

      UpdateProxyRuleRequest.Builder addConditions(ProxyRuleCondition... 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 the ProxyRuleCondition.Builder avoiding the need to create one manually via ProxyRuleCondition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to addConditions(List<ProxyRuleCondition>).

      Parameters:
      addConditions - a consumer that will call methods on ProxyRuleCondition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • removeConditions

      UpdateProxyRuleRequest.Builder removeConditions(Collection<ProxyRuleCondition> 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(ProxyRuleCondition... 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 the ProxyRuleCondition.Builder avoiding the need to create one manually via ProxyRuleCondition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to removeConditions(List<ProxyRuleCondition>).

      Parameters:
      removeConditions - a consumer that will call methods on ProxyRuleCondition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateToken

      UpdateProxyRuleRequest.Builder updateToken(String 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.