@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Severity extends Object implements Serializable, Cloneable, StructuredPojo
The severity of the finding.
Constructor and Description |
---|
Severity() |
Modifier and Type | Method and Description |
---|---|
Severity |
clone() |
boolean |
equals(Object obj) |
String |
getLabel()
The severity value of the finding.
|
Integer |
getNormalized()
Deprecated.
|
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)
Deprecated.
|
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.
|
Severity |
withLabel(SeverityLabel label)
The severity value of the finding.
|
Severity |
withLabel(String label)
The severity value of the finding.
|
Severity |
withNormalized(Integer normalized)
Deprecated.
|
Severity |
withProduct(Double product)
The native severity as defined by the AWS service or integrated partner product that generated the finding.
|
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 Severity 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 Severity 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 Severity 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 void setNormalized(Integer normalized)
Deprecated. This attribute is being deprecated. Instead of providing Normalized
, provide
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
- Deprecated. This attribute is being deprecated. Instead of providing Normalized
, provide
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()
Deprecated. This attribute is being deprecated. Instead of providing Normalized
, provide
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
, provide
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 Severity withNormalized(Integer normalized)
Deprecated. This attribute is being deprecated. Instead of providing Normalized
, provide
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
- Deprecated. This attribute is being deprecated. Instead of providing Normalized
, provide
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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.