@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingProviderSeverity extends Object implements Serializable, Cloneable, StructuredPojo
The severity assigned to the finding by the finding provider.
Constructor and Description |
---|
FindingProviderSeverity() |
Modifier and Type | Method and Description |
---|---|
FindingProviderSeverity |
clone() |
boolean |
equals(Object obj) |
String |
getLabel()
The severity label assigned to the finding by the finding provider.
|
String |
getOriginal()
The finding provider's original value for the severity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLabel(String label)
The severity label assigned to the finding by the finding provider.
|
void |
setOriginal(String original)
The finding provider's original value for the severity.
|
String |
toString()
Returns a string representation of this object.
|
FindingProviderSeverity |
withLabel(SeverityLabel label)
The severity label assigned to the finding by the finding provider.
|
FindingProviderSeverity |
withLabel(String label)
The severity label assigned to the finding by the finding provider.
|
FindingProviderSeverity |
withOriginal(String original)
The finding provider's original value for the severity.
|
public void setLabel(String label)
The severity label assigned to the finding by the finding provider.
label
- The severity label assigned to the finding by the finding provider.SeverityLabel
public String getLabel()
The severity label assigned to the finding by the finding provider.
SeverityLabel
public FindingProviderSeverity withLabel(String label)
The severity label assigned to the finding by the finding provider.
label
- The severity label assigned to the finding by the finding provider.SeverityLabel
public FindingProviderSeverity withLabel(SeverityLabel label)
The severity label assigned to the finding by the finding provider.
label
- The severity label assigned to the finding by the finding provider.SeverityLabel
public void setOriginal(String original)
The finding provider's original value for the severity.
original
- The finding provider's original value for the severity.public String getOriginal()
The finding provider's original value for the severity.
public FindingProviderSeverity withOriginal(String original)
The finding provider's original value for the severity.
original
- The finding provider's original value for the severity.public String toString()
toString
in class Object
Object.toString()
public FindingProviderSeverity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.