@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Severity extends Object implements Serializable, Cloneable, StructuredPojo
Provides the numerical and qualitative representations of a finding's severity.
| Constructor and Description |
|---|
Severity() |
| Modifier and Type | Method and Description |
|---|---|
Severity |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
|
Long |
getScore()
The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDescription(String description)
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
|
void |
setScore(Long score)
The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
|
String |
toString()
Returns a string representation of this object.
|
Severity |
withDescription(SeverityDescription description)
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
|
Severity |
withDescription(String description)
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
|
Severity |
withScore(Long score)
The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
|
public void setDescription(String description)
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
description - The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most
severe).SeverityDescriptionpublic String getDescription()
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
SeverityDescriptionpublic Severity withDescription(String description)
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
description - The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most
severe).SeverityDescriptionpublic Severity withDescription(SeverityDescription description)
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
description - The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most
severe).SeverityDescriptionpublic void setScore(Long score)
The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
score - The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).public Long getScore()
The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
public Severity withScore(Long score)
The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
score - The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.