Class CfnNagViolation
java.lang.Object
com.hack23.sonar.cloudformation.reports.cfnnag.CfnNagViolation
The Class CfnNagViolation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.getId()Gets the id.Gets the line numbers.Gets the logical resource ids.Gets the message.getType()Gets the type.inthashCode()Hash code.voidSets the id.voidsetLineNumbers(List<Integer> lineNumbers) Sets the line numbers.voidsetLogicalResourceIds(List<String> logicalResourceIds) Sets the logical resource ids.voidsetMessage(String message) Sets the message.voidSets 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.
-