public class DescribeRepositoriesResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeRepositoriesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeRepositoriesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future
DescribeRepositories request. |
List<Repository> |
getRepositories()
A list of repository objects corresponding to valid repositories.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future
DescribeRepositories request. |
void |
setRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeRepositoriesResult |
withNextToken(String nextToken)
The
nextToken value to include in a future
DescribeRepositories request. |
DescribeRepositoriesResult |
withRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
|
DescribeRepositoriesResult |
withRepositories(Repository... repositories)
A list of repository objects corresponding to valid repositories.
|
public List<Repository> getRepositories()
A list of repository objects corresponding to valid repositories.
public void setRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
repositories
- A list of repository objects corresponding to valid repositories.public DescribeRepositoriesResult withRepositories(Repository... repositories)
A list of repository objects corresponding to valid repositories.
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
- A list of repository objects corresponding to valid repositories.public DescribeRepositoriesResult withRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
repositories
- A list of repository objects corresponding to valid repositories.public void setNextToken(String nextToken)
The nextToken
value to include in a future
DescribeRepositories
request. When the results of a
DescribeRepositories
request exceed maxResults
,
this value can be used to retrieve the next page of results. This value
is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future
DescribeRepositories
request. When the results of a
DescribeRepositories
request exceed
maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there
are no more results to return.public String getNextToken()
The nextToken
value to include in a future
DescribeRepositories
request. When the results of a
DescribeRepositories
request exceed maxResults
,
this value can be used to retrieve the next page of results. This value
is null
when there are no more results to return.
nextToken
value to include in a future
DescribeRepositories
request. When the results of a
DescribeRepositories
request exceed
maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there
are no more results to return.public DescribeRepositoriesResult withNextToken(String nextToken)
The nextToken
value to include in a future
DescribeRepositories
request. When the results of a
DescribeRepositories
request exceed maxResults
,
this value can be used to retrieve the next page of results. This value
is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future
DescribeRepositories
request. When the results of a
DescribeRepositories
request exceed
maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there
are no more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeRepositoriesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.