@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.
|
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, setSdkResponseMetadatapublic 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 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 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 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 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 CodeCommit, another page of
1,000 records is retrieved.public String toString()
toString in class ObjectObject.toString()public ListRepositoriesResult clone()