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 CreateRuleRequest

    • Constructor Detail

      • CreateRuleRequest

        public CreateRuleRequest()
    • Method Detail

      • setName

        public void setName(String name)

        A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

        Parameters:
        name - A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
      • getName

        public String getName()

        A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

        Returns:
        A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
      • withName

        public CreateRuleRequest withName(String name)

        A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

        Parameters:
        name - A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricName

        public void setMetricName(String metricName)

        A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the Rule.

        Parameters:
        metricName - A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the Rule.
      • getMetricName

        public String getMetricName()

        A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the Rule.

        Returns:
        A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the Rule.
      • withMetricName

        public CreateRuleRequest withMetricName(String metricName)

        A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the Rule.

        Parameters:
        metricName - A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the Rule.
        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 CreateRuleRequest 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.
      • getTags

        public List<Tag> getTags()

        Returns:
      • setTags

        public void setTags(Collection<Tag> tags)

        Parameters:
        tags -
      • withTags

        public CreateRuleRequest withTags(Collection<Tag> tags)

        Parameters:
        tags -
        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 によって変換されたページ (->オリジナル) /