Class CfnNagViolation

java.lang.Object
com.hack23.sonar.cloudformation.reports.cfnnag.CfnNagViolation

public final class CfnNagViolation extends Object
The Class CfnNagViolation.
  • Constructor Details

    • CfnNagViolation

      public CfnNagViolation()
  • Method Details

    • getId

      public String getId()
      Gets the id.
      Returns:
      the id
    • setId

      public void setId(String id)
      Sets the id.
      Parameters:
      id - the new id
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - the new type
    • getMessage

      public String getMessage()
      Gets the message.
      Returns:
      the message
    • setMessage

      public void setMessage(String message)
      Sets the message.
      Parameters:
      message - the new message
    • getLogicalResourceIds

      public List<String> getLogicalResourceIds()
      Gets the logical resource ids.
      Returns:
      the logical resource ids
    • setLogicalResourceIds

      public void setLogicalResourceIds(List<String> logicalResourceIds)
      Sets the logical resource ids.
      Parameters:
      logicalResourceIds - the new logical resource ids
    • getLineNumbers

      public List<Integer> getLineNumbers()
      Gets the line numbers.
      Returns:
      the line numbers
    • setLineNumbers

      public void setLineNumbers(List<Integer> lineNumbers)
      Sets the line numbers.
      Parameters:
      lineNumbers - the new line numbers
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string
    • equals

      public boolean equals(Object object)
      Equals.
      Overrides:
      equals in class Object
      Parameters:
      object - the object
      Returns:
      true, if successful
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the int