@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingTypeAggregation extends Object implements Serializable, Cloneable, StructuredPojo
The details that define an aggregation based on finding type.
| Constructor and Description |
|---|
FindingTypeAggregation() |
| Modifier and Type | Method and Description |
|---|---|
FindingTypeAggregation |
clone() |
boolean |
equals(Object obj) |
String |
getFindingType()
The finding type to aggregate.
|
String |
getResourceType()
The resource type to aggregate.
|
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 |
setFindingType(String findingType)
The finding type to aggregate.
|
void |
setResourceType(String resourceType)
The resource type to aggregate.
|
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.
|
FindingTypeAggregation |
withFindingType(AggregationFindingType findingType)
The finding type to aggregate.
|
FindingTypeAggregation |
withFindingType(String findingType)
The finding type to aggregate.
|
FindingTypeAggregation |
withResourceType(AggregationResourceType resourceType)
The resource type to aggregate.
|
FindingTypeAggregation |
withResourceType(String resourceType)
The resource type to aggregate.
|
FindingTypeAggregation |
withSortBy(FindingTypeSortBy sortBy)
The value to sort results by.
|
FindingTypeAggregation |
withSortBy(String sortBy)
The value to sort results by.
|
FindingTypeAggregation |
withSortOrder(SortOrder sortOrder)
The order to sort results by.
|
FindingTypeAggregation |
withSortOrder(String sortOrder)
The order to sort results by.
|
public void setFindingType(String findingType)
The finding type to aggregate.
findingType - The finding type to aggregate.AggregationFindingTypepublic String getFindingType()
The finding type to aggregate.
AggregationFindingTypepublic FindingTypeAggregation withFindingType(String findingType)
The finding type to aggregate.
findingType - The finding type to aggregate.AggregationFindingTypepublic FindingTypeAggregation withFindingType(AggregationFindingType findingType)
The finding type to aggregate.
findingType - The finding type to aggregate.AggregationFindingTypepublic void setResourceType(String resourceType)
The resource type to aggregate.
resourceType - The resource type to aggregate.AggregationResourceTypepublic String getResourceType()
The resource type to aggregate.
AggregationResourceTypepublic FindingTypeAggregation withResourceType(String resourceType)
The resource type to aggregate.
resourceType - The resource type to aggregate.AggregationResourceTypepublic FindingTypeAggregation withResourceType(AggregationResourceType resourceType)
The resource type to aggregate.
resourceType - The resource type to aggregate.AggregationResourceTypepublic void setSortBy(String sortBy)
The value to sort results by.
sortBy - The value to sort results by.FindingTypeSortBypublic String getSortBy()
The value to sort results by.
FindingTypeSortBypublic FindingTypeAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy - The value to sort results by.FindingTypeSortBypublic FindingTypeAggregation withSortBy(FindingTypeSortBy sortBy)
The value to sort results by.
sortBy - The value to sort results by.FindingTypeSortBypublic void setSortOrder(String sortOrder)
The order to sort results by.
sortOrder - The order to sort results by.SortOrderpublic String getSortOrder()
The order to sort results by.
SortOrderpublic FindingTypeAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder - The order to sort results by.SortOrderpublic FindingTypeAggregation withSortOrder(SortOrder sortOrder)
The order to sort results by.
sortOrder - The order to sort results by.SortOrderpublic String toString()
toString in class ObjectObject.toString()public FindingTypeAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.