Interface ListEnvironmentsRequest.Builder

    • Method Detail

      • nextToken

        ListEnvironmentsRequest.Builder nextToken​(String nextToken)

        If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

        Parameters:
        nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListEnvironmentsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

        This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

        Parameters:
        maxResults - The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.

        This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

        Returns:
        Returns a reference to this object so that method calls can be chained together.