Class ListRepositoriesResult

java.lang.Object
com.amazonaws.services.codecommit.model.ListRepositoriesResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListRepositoriesResult extends Object implements Serializable, Cloneable

Represents the output of a list repositories operation.

See Also:
  • Constructor Details

    • ListRepositoriesResult

      public ListRepositoriesResult()
  • Method Details

    • getRepositories

      public List<RepositoryNameIdPair> getRepositories()

      Lists the repositories called by the list repositories operation.

      Returns:
      Lists the repositories called by the list repositories operation.
    • setRepositories

      public void setRepositories(Collection<RepositoryNameIdPair> repositories)

      Lists the repositories called by the list repositories operation.

      Parameters:
      repositories - Lists the repositories called by the list repositories operation.
    • withRepositories

      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.

      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

      public ListRepositoriesResult withRepositories(Collection<RepositoryNameIdPair> repositories)

      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

      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.

      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

      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.

      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

      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.

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListRepositoriesResult clone()
      Overrides:
      clone in class Object