@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountFindingsMetric extends Object implements Serializable, Cloneable, StructuredPojo
A summary of findings metrics in an account.
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 in an account on the specified date.
|
Date |
getDate()
The date from which the finding metrics were retrieved.
|
FindingMetricsValuePerSeverity |
getMeanTimeToClose()
The average time it takes to close findings of each severity in days.
|
FindingMetricsValuePerSeverity |
getNewFindings()
The number of new findings of each severity in account on the specified date.
|
FindingMetricsValuePerSeverity |
getOpenFindings()
The number of open findings of each severity in an account 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 in an account on the specified date.
|
void |
setDate(Date date)
The date from which the finding metrics were retrieved.
|
void |
setMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time it takes to close findings of each severity in days.
|
void |
setNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity in account on the specified date.
|
void |
setOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account 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 in an account on the specified date.
|
AccountFindingsMetric |
withDate(Date date)
The date from which the finding metrics were retrieved.
|
AccountFindingsMetric |
withMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time it takes to close findings of each severity in days.
|
AccountFindingsMetric |
withNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity in account on the specified date.
|
AccountFindingsMetric |
withOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account as of the specified date.
|
public void setClosedFindings(FindingMetricsValuePerSeverity closedFindings)
The number of closed findings of each severity in an account on the specified date.
closedFindings
- The number of closed findings of each severity in an account on the specified date.public FindingMetricsValuePerSeverity getClosedFindings()
The number of closed findings of each severity in an account on the specified date.
public AccountFindingsMetric withClosedFindings(FindingMetricsValuePerSeverity closedFindings)
The number of closed findings of each severity in an account on the specified date.
closedFindings
- The number of closed findings of each severity in an account on the specified date.public void setDate(Date date)
The date from which the finding metrics were retrieved.
date
- The date from which the finding metrics were retrieved.public Date getDate()
The date from which the finding metrics were retrieved.
public AccountFindingsMetric withDate(Date date)
The date from which the finding metrics were retrieved.
date
- The date from which the finding metrics were retrieved.public void setMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time it takes to close findings of each severity in days.
meanTimeToClose
- The average time it takes to close findings of each severity in days.public FindingMetricsValuePerSeverity getMeanTimeToClose()
The average time it takes to close findings of each severity in days.
public AccountFindingsMetric withMeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time it takes to close findings of each severity in days.
meanTimeToClose
- The average time it takes to close findings of each severity in days.public void setNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity in account on the specified date.
newFindings
- The number of new findings of each severity in account on the specified date.public FindingMetricsValuePerSeverity getNewFindings()
The number of new findings of each severity in account on the specified date.
public AccountFindingsMetric withNewFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity in account on the specified date.
newFindings
- The number of new findings of each severity in account on the specified date.public void setOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account as of the specified date.
openFindings
- The number of open findings of each severity in an account as of the specified date.public FindingMetricsValuePerSeverity getOpenFindings()
The number of open findings of each severity in an account as of the specified date.
public AccountFindingsMetric withOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account as of the specified date.
openFindings
- The number of open findings of each severity in an account 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.