@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountFindingsMetric extends Object implements Serializable, Cloneable, StructuredPojo
A summary of findings metrics for an account on a specified date.
Constructor and Description |
---|
AccountFindingsMetric() |
Modifier and Type | Method and Description |
---|---|
AccountFindingsMetric |
clone() |
boolean |
equals(Object obj) |
FindingMetricsValuePerSeverity |
getClosedFindings()
The number of closed findings of each severity on the specified date.
|
Date |
getDate()
The date from which the findings metrics were retrieved.
|
FindingMetricsValuePerSeverity |
getMeanTimeToClose()
The average time in days it takes to close findings of each severity as of a specified date.
|
FindingMetricsValuePerSeverity |
getNewFindings()
The number of new findings of each severity on the specified date.
|
FindingMetricsValuePerSeverity |
getOpenFindings()
The number of open findings of each severity as of the specified date.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClosedFindings(FindingMetricsValuePerSeverity closedFindings)
The number of closed findings of each severity on the specified date.
|
void |
setDate(Date date)
The date from which the findings metrics were retrieved.
|
void |
setMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time in days it takes to close findings of each severity as of a specified date.
|
void |
setNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity on the specified date.
|
void |
setOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity as of the specified date.
|
String |
toString()
Returns a string representation of this object.
|
AccountFindingsMetric |
withClosedFindings(FindingMetricsValuePerSeverity closedFindings)
The number of closed findings of each severity on the specified date.
|
AccountFindingsMetric |
withDate(Date date)
The date from which the findings metrics were retrieved.
|
AccountFindingsMetric |
withMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time in days it takes to close findings of each severity as of a specified date.
|
AccountFindingsMetric |
withNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity on the specified date.
|
AccountFindingsMetric |
withOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity as of the specified date.
|
public void setClosedFindings(FindingMetricsValuePerSeverity closedFindings)
The number of closed findings of each severity on the specified date.
closedFindings
- The number of closed findings of each severity on the specified date.public FindingMetricsValuePerSeverity getClosedFindings()
The number of closed findings of each severity on the specified date.
public AccountFindingsMetric withClosedFindings(FindingMetricsValuePerSeverity closedFindings)
The number of closed findings of each severity on the specified date.
closedFindings
- The number of closed findings of each severity on the specified date.public void setDate(Date date)
The date from which the findings metrics were retrieved.
date
- The date from which the findings metrics were retrieved.public Date getDate()
The date from which the findings metrics were retrieved.
public AccountFindingsMetric withDate(Date date)
The date from which the findings metrics were retrieved.
date
- The date from which the findings metrics were retrieved.public void setMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time in days it takes to close findings of each severity as of a specified date.
meanTimeToClose
- The average time in days it takes to close findings of each severity as of a specified date.public FindingMetricsValuePerSeverity getMeanTimeToClose()
The average time in days it takes to close findings of each severity as of a specified date.
public AccountFindingsMetric withMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time in days it takes to close findings of each severity as of a specified date.
meanTimeToClose
- The average time in days it takes to close findings of each severity as of a specified date.public void setNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity on the specified date.
newFindings
- The number of new findings of each severity on the specified date.public FindingMetricsValuePerSeverity getNewFindings()
The number of new findings of each severity on the specified date.
public AccountFindingsMetric withNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity on the specified date.
newFindings
- The number of new findings of each severity on the specified date.public void setOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity as of the specified date.
openFindings
- The number of open findings of each severity as of the specified date.public FindingMetricsValuePerSeverity getOpenFindings()
The number of open findings of each severity as of the specified date.
public AccountFindingsMetric withOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity as of the specified date.
openFindings
- The number of open findings of each severity as of the specified date.public String toString()
toString
in class Object
Object.toString()
public AccountFindingsMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.