@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAggregation extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains details about an aggregation response based on Amazon Web Services accounts.
| Constructor and Description |
|---|
AccountAggregation() |
| Modifier and Type | Method and Description |
|---|---|
AccountAggregation |
clone() |
boolean |
equals(Object obj) |
String |
getFindingType()
The type of finding.
|
String |
getResourceType()
The type of resource.
|
String |
getSortBy()
The value to sort by.
|
String |
getSortOrder()
The sort order (ascending or descending).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFindingType(String findingType)
The type of finding.
|
void |
setResourceType(String resourceType)
The type of resource.
|
void |
setSortBy(String sortBy)
The value to sort by.
|
void |
setSortOrder(String sortOrder)
The sort order (ascending or descending).
|
String |
toString()
Returns a string representation of this object.
|
AccountAggregation |
withFindingType(AggregationFindingType findingType)
The type of finding.
|
AccountAggregation |
withFindingType(String findingType)
The type of finding.
|
AccountAggregation |
withResourceType(AggregationResourceType resourceType)
The type of resource.
|
AccountAggregation |
withResourceType(String resourceType)
The type of resource.
|
AccountAggregation |
withSortBy(AccountSortBy sortBy)
The value to sort by.
|
AccountAggregation |
withSortBy(String sortBy)
The value to sort by.
|
AccountAggregation |
withSortOrder(SortOrder sortOrder)
The sort order (ascending or descending).
|
AccountAggregation |
withSortOrder(String sortOrder)
The sort order (ascending or descending).
|
public void setFindingType(String findingType)
The type of finding.
findingType - The type of finding.AggregationFindingTypepublic String getFindingType()
The type of finding.
AggregationFindingTypepublic AccountAggregation withFindingType(String findingType)
The type of finding.
findingType - The type of finding.AggregationFindingTypepublic AccountAggregation withFindingType(AggregationFindingType findingType)
The type of finding.
findingType - The type of finding.AggregationFindingTypepublic void setResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.AggregationResourceTypepublic String getResourceType()
The type of resource.
AggregationResourceTypepublic AccountAggregation withResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.AggregationResourceTypepublic AccountAggregation withResourceType(AggregationResourceType resourceType)
The type of resource.
resourceType - The type of resource.AggregationResourceTypepublic void setSortBy(String sortBy)
The value to sort by.
sortBy - The value to sort by.AccountSortBypublic String getSortBy()
The value to sort by.
AccountSortBypublic AccountAggregation withSortBy(String sortBy)
The value to sort by.
sortBy - The value to sort by.AccountSortBypublic AccountAggregation withSortBy(AccountSortBy sortBy)
The value to sort by.
sortBy - The value to sort by.AccountSortBypublic void setSortOrder(String sortOrder)
The sort order (ascending or descending).
sortOrder - The sort order (ascending or descending).SortOrderpublic String getSortOrder()
The sort order (ascending or descending).
SortOrderpublic AccountAggregation withSortOrder(String sortOrder)
The sort order (ascending or descending).
sortOrder - The sort order (ascending or descending).SortOrderpublic AccountAggregation withSortOrder(SortOrder sortOrder)
The sort order (ascending or descending).
sortOrder - The sort order (ascending or descending).SortOrderpublic String toString()
toString in class ObjectObject.toString()public AccountAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.