@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAggregation extends Object implements Serializable, Cloneable, StructuredPojo
Contains counts of vulnerability findings from image scans that run when you create new Image Builder images, or build new versions of existing images. The vulnerability counts are grouped by severity level. The counts are aggregated across resources to create the final tally for the account that owns them.
Constructor and Description |
---|
AccountAggregation() |
Modifier and Type | Method and Description |
---|---|
AccountAggregation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
Identifies the account that owns the aggregated resource findings.
|
SeverityCounts |
getSeverityCounts()
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
Identifies the account that owns the aggregated resource findings.
|
void |
setSeverityCounts(SeverityCounts severityCounts)
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
|
String |
toString()
Returns a string representation of this object.
|
AccountAggregation |
withAccountId(String accountId)
Identifies the account that owns the aggregated resource findings.
|
AccountAggregation |
withSeverityCounts(SeverityCounts severityCounts)
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
|
public void setAccountId(String accountId)
Identifies the account that owns the aggregated resource findings.
accountId
- Identifies the account that owns the aggregated resource findings.public String getAccountId()
Identifies the account that owns the aggregated resource findings.
public AccountAggregation withAccountId(String accountId)
Identifies the account that owns the aggregated resource findings.
accountId
- Identifies the account that owns the aggregated resource findings.public void setSeverityCounts(SeverityCounts severityCounts)
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
severityCounts
- Counts by severity level for medium severity and higher level findings, plus a total for all of the
findings.public SeverityCounts getSeverityCounts()
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
public AccountAggregation withSeverityCounts(SeverityCounts severityCounts)
Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
severityCounts
- Counts by severity level for medium severity and higher level findings, plus a total for all of the
findings.public String toString()
toString
in class Object
Object.toString()
public AccountAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.