@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TitleAggregation extends Object implements Serializable, Cloneable, StructuredPojo
The details that define an aggregation based on finding title.
Constructor and Description |
---|
TitleAggregation() |
Modifier and Type | Method and Description |
---|---|
TitleAggregation |
clone() |
boolean |
equals(Object obj) |
String |
getResourceType()
The resource type to aggregate on.
|
String |
getSortBy()
The value to sort results by.
|
String |
getSortOrder()
The order to sort results by.
|
List<StringFilter> |
getTitles()
The finding titles to aggregate on.
|
List<StringFilter> |
getVulnerabilityIds()
The vulnerability IDs of the findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceType(String resourceType)
The resource type to aggregate on.
|
void |
setSortBy(String sortBy)
The value to sort results by.
|
void |
setSortOrder(String sortOrder)
The order to sort results by.
|
void |
setTitles(Collection<StringFilter> titles)
The finding titles to aggregate on.
|
void |
setVulnerabilityIds(Collection<StringFilter> vulnerabilityIds)
The vulnerability IDs of the findings.
|
String |
toString()
Returns a string representation of this object.
|
TitleAggregation |
withResourceType(AggregationResourceType resourceType)
The resource type to aggregate on.
|
TitleAggregation |
withResourceType(String resourceType)
The resource type to aggregate on.
|
TitleAggregation |
withSortBy(String sortBy)
The value to sort results by.
|
TitleAggregation |
withSortBy(TitleSortBy sortBy)
The value to sort results by.
|
TitleAggregation |
withSortOrder(SortOrder sortOrder)
The order to sort results by.
|
TitleAggregation |
withSortOrder(String sortOrder)
The order to sort results by.
|
TitleAggregation |
withTitles(Collection<StringFilter> titles)
The finding titles to aggregate on.
|
TitleAggregation |
withTitles(StringFilter... titles)
The finding titles to aggregate on.
|
TitleAggregation |
withVulnerabilityIds(Collection<StringFilter> vulnerabilityIds)
The vulnerability IDs of the findings.
|
TitleAggregation |
withVulnerabilityIds(StringFilter... vulnerabilityIds)
The vulnerability IDs of the findings.
|
public void setResourceType(String resourceType)
The resource type to aggregate on.
resourceType
- The resource type to aggregate on.AggregationResourceType
public String getResourceType()
The resource type to aggregate on.
AggregationResourceType
public TitleAggregation withResourceType(String resourceType)
The resource type to aggregate on.
resourceType
- The resource type to aggregate on.AggregationResourceType
public TitleAggregation withResourceType(AggregationResourceType resourceType)
The resource type to aggregate on.
resourceType
- The resource type to aggregate on.AggregationResourceType
public void setSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.TitleSortBy
public String getSortBy()
The value to sort results by.
TitleSortBy
public TitleAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.TitleSortBy
public TitleAggregation withSortBy(TitleSortBy sortBy)
The value to sort results by.
sortBy
- The value to sort results by.TitleSortBy
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 TitleAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public TitleAggregation withSortOrder(SortOrder sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public List<StringFilter> getTitles()
The finding titles to aggregate on.
public void setTitles(Collection<StringFilter> titles)
The finding titles to aggregate on.
titles
- The finding titles to aggregate on.public TitleAggregation withTitles(StringFilter... titles)
The finding titles to aggregate on.
NOTE: This method appends the values to the existing list (if any). Use
setTitles(java.util.Collection)
or withTitles(java.util.Collection)
if you want to override the
existing values.
titles
- The finding titles to aggregate on.public TitleAggregation withTitles(Collection<StringFilter> titles)
The finding titles to aggregate on.
titles
- The finding titles to aggregate on.public List<StringFilter> getVulnerabilityIds()
The vulnerability IDs of the findings.
public void setVulnerabilityIds(Collection<StringFilter> vulnerabilityIds)
The vulnerability IDs of the findings.
vulnerabilityIds
- The vulnerability IDs of the findings.public TitleAggregation withVulnerabilityIds(StringFilter... vulnerabilityIds)
The vulnerability IDs of the findings.
NOTE: This method appends the values to the existing list (if any). Use
setVulnerabilityIds(java.util.Collection)
or withVulnerabilityIds(java.util.Collection)
if you
want to override the existing values.
vulnerabilityIds
- The vulnerability IDs of the findings.public TitleAggregation withVulnerabilityIds(Collection<StringFilter> vulnerabilityIds)
The vulnerability IDs of the findings.
vulnerabilityIds
- The vulnerability IDs of the findings.public String toString()
toString
in class Object
Object.toString()
public TitleAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.