@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SeverityUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Updates to the severity information for a finding.
Constructor and Description |
---|
SeverityUpdate() |
Modifier and Type | Method and Description |
---|---|
SeverityUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getLabel()
The severity value of the finding.
|
Integer |
getNormalized()
The normalized severity for the finding.
|
Double |
getProduct()
The native severity as defined by the AWS service or integrated partner product that generated the finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLabel(String label)
The severity value of the finding.
|
void |
setNormalized(Integer normalized)
The normalized severity for the finding.
|
void |
setProduct(Double product)
The native severity as defined by the AWS service or integrated partner product that generated the finding.
|
String |
toString()
Returns a string representation of this object.
|
SeverityUpdate |
withLabel(SeverityLabel label)
The severity value of the finding.
|
SeverityUpdate |
withLabel(String label)
The severity value of the finding.
|
SeverityUpdate |
withNormalized(Integer normalized)
The normalized severity for the finding.
|
SeverityUpdate |
withProduct(Double product)
The native severity as defined by the AWS service or integrated partner product that generated the finding.
|
public void setNormalized(Integer normalized)
The normalized severity for the finding. This attribute is to be deprecated in favor of Label
.
If you provide Normalized
and do not provide Label
, Label
is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
normalized
- The normalized severity for the finding. This attribute is to be deprecated in favor of Label
.
If you provide Normalized
and do not provide Label
, Label
is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
public Integer getNormalized()
The normalized severity for the finding. This attribute is to be deprecated in favor of Label
.
If you provide Normalized
and do not provide Label
, Label
is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
Label
.
If you provide Normalized
and do not provide Label
, Label
is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
public SeverityUpdate withNormalized(Integer normalized)
The normalized severity for the finding. This attribute is to be deprecated in favor of Label
.
If you provide Normalized
and do not provide Label
, Label
is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
normalized
- The normalized severity for the finding. This attribute is to be deprecated in favor of Label
.
If you provide Normalized
and do not provide Label
, Label
is set
automatically as follows.
0 - INFORMATIONAL
1–39 - LOW
40–69 - MEDIUM
70–89 - HIGH
90–100 - CRITICAL
public void setProduct(Double product)
The native severity as defined by the AWS service or integrated partner product that generated the finding.
product
- The native severity as defined by the AWS service or integrated partner product that generated the
finding.public Double getProduct()
The native severity as defined by the AWS service or integrated partner product that generated the finding.
public SeverityUpdate withProduct(Double product)
The native severity as defined by the AWS service or integrated partner product that generated the finding.
product
- The native severity as defined by the AWS service or integrated partner product that generated the
finding.public void setLabel(String label)
The severity value of the finding. The allowed values are the following.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
label
- The severity value of the finding. The allowed values are the following.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
SeverityLabel
public String getLabel()
The severity value of the finding. The allowed values are the following.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
SeverityLabel
public SeverityUpdate withLabel(String label)
The severity value of the finding. The allowed values are the following.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
label
- The severity value of the finding. The allowed values are the following.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
SeverityLabel
public SeverityUpdate withLabel(SeverityLabel label)
The severity value of the finding. The allowed values are the following.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
label
- The severity value of the finding. The allowed values are the following.
INFORMATIONAL
- No issue was found.
LOW
- The issue does not require action on its own.
MEDIUM
- The issue must be addressed but not urgently.
HIGH
- The issue must be addressed as a priority.
CRITICAL
- The issue must be remediated immediately to avoid it escalating.
SeverityLabel
public String toString()
toString
in class Object
Object.toString()
public SeverityUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.