Interface ListSourceResourcesResponse.Builder

  • Method Details

    • nextToken

      If the response includes a NextToken value, that means that there are more results available. The value of NextToken is a unique pagination token for each page. To retrieve the next page of results, call this API again and specify this NextToken value in the request. 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 the response includes a NextToken value, that means that there are more results available. The value of NextToken is a unique pagination token for each page. To retrieve the next page of results, call this API again and specify this NextToken value in the request. 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.
    • sourceResourceList

      ListSourceResourcesResponse.Builder sourceResourceList(Collection<SourceResource> sourceResourceList)

      The list of source resources.

      Parameters:
      sourceResourceList - The list of source resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceResourceList

      ListSourceResourcesResponse.Builder sourceResourceList(SourceResource... sourceResourceList)

      The list of source resources.

      Parameters:
      sourceResourceList - The list of source resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceResourceList

      ListSourceResourcesResponse.Builder sourceResourceList(Consumer<SourceResource.Builder>... sourceResourceList)

      The list of source resources.

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

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

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