JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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.codegurureviewer.model

Class RuleMetadata

    • Constructor Detail

      • RuleMetadata

        public RuleMetadata()
    • Method Detail

      • setRuleId

        public void setRuleId(String ruleId)

        The ID of the rule.

        Parameters:
        ruleId - The ID of the rule.
      • getRuleId

        public String getRuleId()

        The ID of the rule.

        Returns:
        The ID of the rule.
      • withRuleId

        public RuleMetadata withRuleId(String ruleId)

        The ID of the rule.

        Parameters:
        ruleId - The ID of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRuleName

        public void setRuleName(String ruleName)

        The name of the rule.

        Parameters:
        ruleName - The name of the rule.
      • getRuleName

        public String getRuleName()

        The name of the rule.

        Returns:
        The name of the rule.
      • withRuleName

        public RuleMetadata withRuleName(String ruleName)

        The name of the rule.

        Parameters:
        ruleName - The name of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setShortDescription

        public void setShortDescription(String shortDescription)

        A short description of the rule.

        Parameters:
        shortDescription - A short description of the rule.
      • getShortDescription

        public String getShortDescription()

        A short description of the rule.

        Returns:
        A short description of the rule.
      • withShortDescription

        public RuleMetadata withShortDescription(String shortDescription)

        A short description of the rule.

        Parameters:
        shortDescription - A short description of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLongDescription

        public void setLongDescription(String longDescription)

        A long description of the rule.

        Parameters:
        longDescription - A long description of the rule.
      • getLongDescription

        public String getLongDescription()

        A long description of the rule.

        Returns:
        A long description of the rule.
      • withLongDescription

        public RuleMetadata withLongDescription(String longDescription)

        A long description of the rule.

        Parameters:
        longDescription - A long description of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRuleTags

        public List<String> getRuleTags()

        Tags that are associated with the rule.

        Returns:
        Tags that are associated with the rule.
      • setRuleTags

        public void setRuleTags(Collection<String> ruleTags)

        Tags that are associated with the rule.

        Parameters:
        ruleTags - Tags that are associated with the rule.
      • withRuleTags

        public RuleMetadata withRuleTags(String... ruleTags)

        Tags that are associated with the rule.

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

        Parameters:
        ruleTags - Tags that are associated with the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRuleTags

        public RuleMetadata withRuleTags(Collection<String> ruleTags)

        Tags that are associated with the rule.

        Parameters:
        ruleTags - Tags that are associated with the rule.
        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 によって変換されたページ (->オリジナル) /