Class CfnNagViolation
java.lang.Object
com.hack23.sonar.cloudformation.reports.cfnnag.CfnNagViolation
The Class CfnNagViolation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.getId()
Gets the id.Gets the line numbers.Gets the logical resource ids.Gets the message.getType()
Gets the type.int
hashCode()
Hash code.void
Sets the id.void
setLineNumbers
(List<Integer> lineNumbers) Sets the line numbers.void
setLogicalResourceIds
(List<String> logicalResourceIds) Sets the logical resource ids.void
setMessage
(String message) Sets the message.void
Sets the type.toString()
To string.
-
Constructor Details
-
CfnNagViolation
public CfnNagViolation()
-
-
Method Details
-
getId
Gets the id.- Returns:
- the id
-
setId
Sets the id.- Parameters:
id
- the new id
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type
- the new type
-
getMessage
Gets the message.- Returns:
- the message
-
setMessage
Sets the message.- Parameters:
message
- the new message
-
getLogicalResourceIds
Gets the logical resource ids.- Returns:
- the logical resource ids
-
setLogicalResourceIds
Sets the logical resource ids.- Parameters:
logicalResourceIds
- the new logical resource ids
-
getLineNumbers
Gets the line numbers.- Returns:
- the line numbers
-
setLineNumbers
Sets the line numbers.- Parameters:
lineNumbers
- the new line numbers
-
toString
To string. -
equals
Equals. -
hashCode
public int hashCode()Hash code.
-