Class ListRepositoriesRequest

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

public class ListRepositoriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a list repositories operation.

See Also:
  • Constructor Details

    • ListRepositoriesRequest

      public ListRepositoriesRequest()
  • Method Details

    • 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 ListRepositoriesRequest 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.
    • setSortBy

      public void setSortBy(String sortBy)

      The criteria used to sort the results of a list repositories operation.

      Parameters:
      sortBy - The criteria used to sort the results of a list repositories operation.
      See Also:
    • getSortBy

      public String getSortBy()

      The criteria used to sort the results of a list repositories operation.

      Returns:
      The criteria used to sort the results of a list repositories operation.
      See Also:
    • withSortBy

      public ListRepositoriesRequest withSortBy(String sortBy)

      The criteria used to sort the results of a list repositories operation.

      Parameters:
      sortBy - The criteria used to sort the results of a list repositories operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setSortBy

      public void setSortBy(SortByEnum sortBy)

      The criteria used to sort the results of a list repositories operation.

      Parameters:
      sortBy - The criteria used to sort the results of a list repositories operation.
      See Also:
    • withSortBy

      public ListRepositoriesRequest withSortBy(SortByEnum sortBy)

      The criteria used to sort the results of a list repositories operation.

      Parameters:
      sortBy - The criteria used to sort the results of a list repositories operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setOrder

      public void setOrder(String order)

      The order in which to sort the results of a list repositories operation.

      Parameters:
      order - The order in which to sort the results of a list repositories operation.
      See Also:
    • getOrder

      public String getOrder()

      The order in which to sort the results of a list repositories operation.

      Returns:
      The order in which to sort the results of a list repositories operation.
      See Also:
    • withOrder

      public ListRepositoriesRequest withOrder(String order)

      The order in which to sort the results of a list repositories operation.

      Parameters:
      order - The order in which to sort the results of a list repositories operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setOrder

      public void setOrder(OrderEnum order)

      The order in which to sort the results of a list repositories operation.

      Parameters:
      order - The order in which to sort the results of a list repositories operation.
      See Also:
    • withOrder

      public ListRepositoriesRequest withOrder(OrderEnum order)

      The order in which to sort the results of a list repositories operation.

      Parameters:
      order - The order in which to sort the results of a list repositories operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 ListRepositoriesRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: