@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRepositoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a list repositories operation.
Constructor and Description |
---|
ListRepositoriesResult() |
Modifier and Type | Method and Description |
---|---|
ListRepositoriesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An enumeration token that allows the operation to batch the results of the operation.
|
List<RepositoryNameIdPair> |
getRepositories()
Lists the repositories called by the list repositories operation.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An enumeration token that allows the operation to batch the results of the operation.
|
void |
setRepositories(Collection<RepositoryNameIdPair> repositories)
Lists the repositories called by the list repositories operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListRepositoriesResult |
withNextToken(String nextToken)
An enumeration token that allows the operation to batch the results of the operation.
|
ListRepositoriesResult |
withRepositories(Collection<RepositoryNameIdPair> repositories)
Lists the repositories called by the list repositories operation.
|
ListRepositoriesResult |
withRepositories(RepositoryNameIdPair... repositories)
Lists the repositories called by the list repositories operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RepositoryNameIdPair> getRepositories()
Lists the repositories called by the list repositories operation.
public void setRepositories(Collection<RepositoryNameIdPair> repositories)
Lists the repositories called by the list repositories operation.
repositories
- Lists the repositories called by the list repositories operation.public ListRepositoriesResult withRepositories(RepositoryNameIdPair... repositories)
Lists the repositories called by the list repositories operation.
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
- Lists the repositories called by the list repositories operation.public ListRepositoriesResult withRepositories(Collection<RepositoryNameIdPair> repositories)
Lists the repositories called by the list repositories operation.
repositories
- Lists the repositories called by the list repositories operation.public void setNextToken(String nextToken)
An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.
nextToken
- An enumeration token that allows the operation to batch the results of the operation. Batch sizes are
1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page
of 1,000 records is retrieved.public String getNextToken()
An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.
public ListRepositoriesResult withNextToken(String nextToken)
An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page of 1,000 records is retrieved.
nextToken
- An enumeration token that allows the operation to batch the results of the operation. Batch sizes are
1,000 for list repository operations. When the client sends the token back to AWS CodeCommit, another page
of 1,000 records is retrieved.public String toString()
toString
in class Object
Object.toString()
public ListRepositoriesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.