Interface DescribePremiumRepositoriesResponse.Builder

  • Method Details

    • repositories

      A list of premium repository objects that describe the premium repositories.

      Parameters:
      repositories - A list of premium repository objects that describe the premium repositories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositories

      A list of premium repository objects that describe the premium repositories.

      Parameters:
      repositories - A list of premium repository objects that describe the premium repositories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositories

      A list of premium repository objects that describe the premium repositories.

      This is a convenience method that creates an instance of the PremiumRepository.Builder avoiding the need to create one manually via PremiumRepository.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositories(List<PremiumRepository>).

      Parameters:
      repositories - a consumer that will call methods on PremiumRepository.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      The nextToken value to include in a future DescribePremiumRepositories request. When the results of a DescribePremiumRepositories request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value is null.

      Parameters:
      nextToken - The nextToken value to include in a future DescribePremiumRepositories request. When the results of a DescribePremiumRepositories request exceed maxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.