@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmiAggregation extends Object implements Serializable, Cloneable, StructuredPojo
The details that define an aggregation based on Amazon machine images (AMIs).
| Constructor and Description | 
|---|
AmiAggregation()  | 
| Modifier and Type | Method and Description | 
|---|---|
AmiAggregation | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<StringFilter> | 
getAmis()
 The IDs of AMIs to aggregate findings for. 
 | 
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 | 
setAmis(Collection<StringFilter> amis)
 The IDs of AMIs to aggregate findings for. 
 | 
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. 
 | 
AmiAggregation | 
withAmis(Collection<StringFilter> amis)
 The IDs of AMIs to aggregate findings for. 
 | 
AmiAggregation | 
withAmis(StringFilter... amis)
 The IDs of AMIs to aggregate findings for. 
 | 
AmiAggregation | 
withSortBy(AmiSortBy sortBy)
 The value to sort results by. 
 | 
AmiAggregation | 
withSortBy(String sortBy)
 The value to sort results by. 
 | 
AmiAggregation | 
withSortOrder(SortOrder sortOrder)
 The order to sort results by. 
 | 
AmiAggregation | 
withSortOrder(String sortOrder)
 The order to sort results by. 
 | 
public List<StringFilter> getAmis()
The IDs of AMIs to aggregate findings for.
public void setAmis(Collection<StringFilter> amis)
The IDs of AMIs to aggregate findings for.
amis - The IDs of AMIs to aggregate findings for.public AmiAggregation withAmis(StringFilter... amis)
The IDs of AMIs to aggregate findings for.
 NOTE: This method appends the values to the existing list (if any). Use
 setAmis(java.util.Collection) or withAmis(java.util.Collection) if you want to override the
 existing values.
 
amis - The IDs of AMIs to aggregate findings for.public AmiAggregation withAmis(Collection<StringFilter> amis)
The IDs of AMIs to aggregate findings for.
amis - The IDs of AMIs to aggregate findings for.public void setSortBy(String sortBy)
The value to sort results by.
sortBy - The value to sort results by.AmiSortBypublic String getSortBy()
The value to sort results by.
AmiSortBypublic AmiAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy - The value to sort results by.AmiSortBypublic AmiAggregation withSortBy(AmiSortBy sortBy)
The value to sort results by.
sortBy - The value to sort results by.AmiSortBypublic 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 AmiAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder - The order to sort results by.SortOrderpublic AmiAggregation 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 AmiAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.