Class ListRepositoriesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a list repositories operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An enumeration token that allows the operation to batch the results of the operation.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.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) An enumeration token that allows the operation to batch the results of the operation.withRepositories
(RepositoryNameIdPair... repositories) Lists the repositories called by the list repositories operation.withRepositories
(Collection<RepositoryNameIdPair> repositories) Lists the repositories called by the list repositories operation.
-
Constructor Details
-
ListRepositoriesResult
public ListRepositoriesResult()
-
-
Method Details
-
getRepositories
Lists the repositories called by the list repositories operation.
- Returns:
- Lists the repositories called by the list repositories operation.
-
setRepositories
Lists the repositories called by the list repositories operation.
- Parameters:
repositories
- Lists the repositories called by the list repositories operation.
-
withRepositories
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)
orwithRepositories(java.util.Collection)
if you want to override the existing values.- Parameters:
repositories
- Lists the repositories called by the list repositories operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRepositories
Lists the repositories called by the list repositories operation.
- Parameters:
repositories
- Lists the repositories called by the list repositories operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-