JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.waf.model

Class UpdateRuleRequest

    • Constructor Detail

      • UpdateRuleRequest

        public UpdateRuleRequest()
    • Method Detail

      • setRuleId

        public void setRuleId(String ruleId)

        The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.

        Parameters:
        ruleId - The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.
      • getRuleId

        public String getRuleId()

        The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.

        Returns:
        The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.
      • withRuleId

        public UpdateRuleRequest withRuleId(String ruleId)

        The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.

        Parameters:
        ruleId - The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChangeToken

        public void setChangeToken(String changeToken)

        The value returned by the most recent call to GetChangeToken.

        Parameters:
        changeToken - The value returned by the most recent call to GetChangeToken.
      • getChangeToken

        public String getChangeToken()

        The value returned by the most recent call to GetChangeToken.

        Returns:
        The value returned by the most recent call to GetChangeToken.
      • withChangeToken

        public UpdateRuleRequest withChangeToken(String changeToken)

        The value returned by the most recent call to GetChangeToken.

        Parameters:
        changeToken - The value returned by the most recent call to GetChangeToken.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getUpdates

        public List<RuleUpdate> getUpdates()

        An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

        Returns:
        An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

      • setUpdates

        public void setUpdates(Collection<RuleUpdate> updates)

        An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

        Parameters:
        updates - An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

      • withUpdates

        public UpdateRuleRequest withUpdates(RuleUpdate... updates)

        An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

        NOTE: This method appends the values to the existing list (if any). Use setUpdates(java.util.Collection) or withUpdates(java.util.Collection) if you want to override the existing values.

        Parameters:
        updates - An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withUpdates

        public UpdateRuleRequest withUpdates(Collection<RuleUpdate> updates)

        An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

        Parameters:
        updates - An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types:

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /