@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageAggregationResponse extends Object implements Serializable, Cloneable, StructuredPojo
A response that contains the results of a finding aggregation by image layer.
Constructor and Description |
---|
PackageAggregationResponse() |
Modifier and Type | Method and Description |
---|---|
PackageAggregationResponse |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account associated with the findings.
|
String |
getPackageName()
The name of the operating system package.
|
SeverityCounts |
getSeverityCounts()
An object that contains the count of matched findings per severity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account associated with the findings.
|
void |
setPackageName(String packageName)
The name of the operating system package.
|
void |
setSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
|
String |
toString()
Returns a string representation of this object.
|
PackageAggregationResponse |
withAccountId(String accountId)
The ID of the Amazon Web Services account associated with the findings.
|
PackageAggregationResponse |
withPackageName(String packageName)
The name of the operating system package.
|
PackageAggregationResponse |
withSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
|
public void setAccountId(String accountId)
The ID of the Amazon Web Services account associated with the findings.
accountId
- The ID of the Amazon Web Services account associated with the findings.public String getAccountId()
The ID of the Amazon Web Services account associated with the findings.
public PackageAggregationResponse withAccountId(String accountId)
The ID of the Amazon Web Services account associated with the findings.
accountId
- The ID of the Amazon Web Services account associated with the findings.public void setPackageName(String packageName)
The name of the operating system package.
packageName
- The name of the operating system package.public String getPackageName()
The name of the operating system package.
public PackageAggregationResponse withPackageName(String packageName)
The name of the operating system package.
packageName
- The name of the operating system package.public void setSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
severityCounts
- An object that contains the count of matched findings per severity.public SeverityCounts getSeverityCounts()
An object that contains the count of matched findings per severity.
public PackageAggregationResponse withSeverityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
severityCounts
- An object that contains the count of matched findings per severity.public String toString()
toString
in class Object
Object.toString()
public PackageAggregationResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.