@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageAggregation extends Object implements Serializable, Cloneable, StructuredPojo
The details that define an aggregation based on operating system package type.
Constructor and Description |
---|
PackageAggregation() |
Modifier and Type | Method and Description |
---|---|
PackageAggregation |
clone() |
boolean |
equals(Object obj) |
List<StringFilter> |
getPackageNames()
The names of packages to aggregate findings on.
|
String |
getSortBy()
The value to sort results by.
|
String |
getSortOrder()
The order to sort results by.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPackageNames(Collection<StringFilter> packageNames)
The names of packages to aggregate findings on.
|
void |
setSortBy(String sortBy)
The value to sort results by.
|
void |
setSortOrder(String sortOrder)
The order to sort results by.
|
String |
toString()
Returns a string representation of this object.
|
PackageAggregation |
withPackageNames(Collection<StringFilter> packageNames)
The names of packages to aggregate findings on.
|
PackageAggregation |
withPackageNames(StringFilter... packageNames)
The names of packages to aggregate findings on.
|
PackageAggregation |
withSortBy(PackageSortBy sortBy)
The value to sort results by.
|
PackageAggregation |
withSortBy(String sortBy)
The value to sort results by.
|
PackageAggregation |
withSortOrder(SortOrder sortOrder)
The order to sort results by.
|
PackageAggregation |
withSortOrder(String sortOrder)
The order to sort results by.
|
public List<StringFilter> getPackageNames()
The names of packages to aggregate findings on.
public void setPackageNames(Collection<StringFilter> packageNames)
The names of packages to aggregate findings on.
packageNames
- The names of packages to aggregate findings on.public PackageAggregation withPackageNames(StringFilter... packageNames)
The names of packages to aggregate findings on.
NOTE: This method appends the values to the existing list (if any). Use
setPackageNames(java.util.Collection)
or withPackageNames(java.util.Collection)
if you want to
override the existing values.
packageNames
- The names of packages to aggregate findings on.public PackageAggregation withPackageNames(Collection<StringFilter> packageNames)
The names of packages to aggregate findings on.
packageNames
- The names of packages to aggregate findings on.public void setSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.PackageSortBy
public String getSortBy()
The value to sort results by.
PackageSortBy
public PackageAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.PackageSortBy
public PackageAggregation withSortBy(PackageSortBy sortBy)
The value to sort results by.
sortBy
- The value to sort results by.PackageSortBy
public void setSortOrder(String sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public String getSortOrder()
The order to sort results by.
SortOrder
public PackageAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public PackageAggregation withSortOrder(SortOrder sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public String toString()
toString
in class Object
Object.toString()
public PackageAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.