@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.AggregationFindingType
public String getFindingType()
The type of finding.
AggregationFindingType
public AccountAggregation withFindingType(String findingType)
The type of finding.
findingType
- The type of finding.AggregationFindingType
public AccountAggregation withFindingType(AggregationFindingType findingType)
The type of finding.
findingType
- The type of finding.AggregationFindingType
public void setResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.AggregationResourceType
public String getResourceType()
The type of resource.
AggregationResourceType
public AccountAggregation withResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.AggregationResourceType
public AccountAggregation withResourceType(AggregationResourceType resourceType)
The type of resource.
resourceType
- The type of resource.AggregationResourceType
public void setSortBy(String sortBy)
The value to sort by.
sortBy
- The value to sort by.AccountSortBy
public String getSortBy()
The value to sort by.
AccountSortBy
public AccountAggregation withSortBy(String sortBy)
The value to sort by.
sortBy
- The value to sort by.AccountSortBy
public AccountAggregation withSortBy(AccountSortBy sortBy)
The value to sort by.
sortBy
- The value to sort by.AccountSortBy
public void setSortOrder(String sortOrder)
The sort order (ascending or descending).
sortOrder
- The sort order (ascending or descending).SortOrder
public String getSortOrder()
The sort order (ascending or descending).
SortOrder
public AccountAggregation withSortOrder(String sortOrder)
The sort order (ascending or descending).
sortOrder
- The sort order (ascending or descending).SortOrder
public AccountAggregation withSortOrder(SortOrder sortOrder)
The sort order (ascending or descending).
sortOrder
- The sort order (ascending or descending).SortOrder
public String toString()
toString
in class Object
Object.toString()
public AccountAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.