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