@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()
A token that indicates the location of the next repository in the array of repositories, after the current
requested list of repositories.
|
List<RepositorySummary> |
getRepositories()
An array of repository links.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates the location of the next repository in the array of repositories, after the current
requested list of repositories.
|
void |
setRepositories(Collection<RepositorySummary> repositories)
An array of repository links.
|
String |
toString()
Returns a string representation of this object.
|
ListRepositoriesResult |
withNextToken(String nextToken)
A token that indicates the location of the next repository in the array of repositories, after the current
requested list of repositories.
|
ListRepositoriesResult |
withRepositories(Collection<RepositorySummary> repositories)
An array of repository links.
|
ListRepositoriesResult |
withRepositories(RepositorySummary... repositories)
An array of repository links.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates the location of the next repository in the array of repositories, after the current requested list of repositories.
nextToken
- A token that indicates the location of the next repository in the array of repositories, after the current
requested list of repositories.public String getNextToken()
A token that indicates the location of the next repository in the array of repositories, after the current requested list of repositories.
public ListRepositoriesResult withNextToken(String nextToken)
A token that indicates the location of the next repository in the array of repositories, after the current requested list of repositories.
nextToken
- A token that indicates the location of the next repository in the array of repositories, after the current
requested list of repositories.public List<RepositorySummary> getRepositories()
An array of repository links.
public void setRepositories(Collection<RepositorySummary> repositories)
An array of repository links.
repositories
- An array of repository links.public ListRepositoriesResult withRepositories(RepositorySummary... repositories)
An array of repository links.
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
- An array of repository links.public ListRepositoriesResult withRepositories(Collection<RepositorySummary> repositories)
An array of repository links.
repositories
- An array of repository links.public String toString()
toString
in class Object
Object.toString()
public ListRepositoriesResult clone()