@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.RepositorySortBy
public String getSortBy()
The value to sort results by.
RepositorySortBy
public RepositoryAggregation withSortBy(String sortBy)
The value to sort results by.
sortBy
- The value to sort results by.RepositorySortBy
public RepositoryAggregation withSortBy(RepositorySortBy sortBy)
The value to sort results by.
sortBy
- The value to sort results by.RepositorySortBy
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 RepositoryAggregation withSortOrder(String sortOrder)
The order to sort results by.
sortOrder
- The order to sort results by.SortOrder
public RepositoryAggregation 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 RepositoryAggregation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.