public class ListRepositoriesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a list repositories operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
An enumeration token that allows the operation to batch the results of
the operation.
|
private java.util.List<RepositoryNameIdPair> |
repositories
Lists the repositories called by the list repositories operation.
|
Constructor and Description |
---|
ListRepositoriesResult() |
Modifier and Type | Method and Description |
---|---|
ListRepositoriesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
An enumeration token that allows the operation to batch the results of
the operation.
|
java.util.List<RepositoryNameIdPair> |
getRepositories()
Lists the repositories called by the list repositories operation.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
An enumeration token that allows the operation to batch the results of
the operation.
|
void |
setRepositories(java.util.Collection<RepositoryNameIdPair> repositories)
Lists the repositories called by the list repositories operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRepositoriesResult |
withNextToken(java.lang.String nextToken)
An enumeration token that allows the operation to batch the results of
the operation.
|
ListRepositoriesResult |
withRepositories(java.util.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.
|
private java.util.List<RepositoryNameIdPair> repositories
Lists the repositories called by the list repositories operation.
private java.lang.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.
public java.util.List<RepositoryNameIdPair> getRepositories()
Lists the repositories called by the list repositories operation.
public void setRepositories(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListRepositoriesResult clone()
clone
in class java.lang.Object