@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRepositoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRepositoriesResult() |
Modifier and Type | Method and Description |
---|---|
ListRepositoriesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<RepositorySummary> |
getRepositories()
The returned list of
RepositorySummary objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setRepositories(Collection<RepositorySummary> repositories)
The returned list of
RepositorySummary objects. |
String |
toString()
Returns a string representation of this object.
|
ListRepositoriesResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListRepositoriesResult |
withRepositories(Collection<RepositorySummary> repositories)
The returned list of
RepositorySummary objects. |
ListRepositoriesResult |
withRepositories(RepositorySummary... repositories)
The returned list of
RepositorySummary objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RepositorySummary> getRepositories()
The returned list of
RepositorySummary
objects.
RepositorySummary
objects.public void setRepositories(Collection<RepositorySummary> repositories)
The returned list of
RepositorySummary
objects.
repositories
- The returned list of
RepositorySummary
objects.public ListRepositoriesResult withRepositories(RepositorySummary... repositories)
The returned list of
RepositorySummary
objects.
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 returned list of
RepositorySummary
objects.public ListRepositoriesResult withRepositories(Collection<RepositorySummary> repositories)
The returned list of
RepositorySummary
objects.
repositories
- The returned list of
RepositorySummary
objects.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListRepositoriesResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListRepositoriesResult clone()