@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.AggregationFindingType
public String getFindingType()
The finding type to aggregate.
AggregationFindingType
public FindingTypeAggregation withFindingType(String findingType)
The finding type to aggregate.
findingType
- The finding type to aggregate.AggregationFindingType
public FindingTypeAggregation withFindingType(AggregationFindingType findingType)
The finding type to aggregate.
findingType
- The finding type to aggregate.AggregationFindingType
public void setResourceType(String resourceType)
The resource type to aggregate.
resourceType
- The resource type to aggregate.AggregationResourceType
public String getResourceType()
The resource type to aggregate.
AggregationResourceType
public FindingTypeAggregation withResourceType(String resourceType)
The resource type to aggregate.
resourceType
- The resource type to aggregate.AggregationResourceType
public FindingTypeAggregation withResourceType(AggregationResourceType resourceType)
The resource type to aggregate.
resourceType
- The resource type to aggregate.AggregationResourceType
public void setSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.FindingTypeSortBy
public String getSortBy()
The value to sort results by.
FindingTypeSortBy
public FindingTypeAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.FindingTypeSortBy
public FindingTypeAggregation withSortBy(FindingTypeSortBy sortBy)
The value to sort results by.
sortBy
- The value to sort results by.FindingTypeSortBy
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 FindingTypeAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public FindingTypeAggregation 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 FindingTypeAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.