Interface ListSamplesResponse.Builder

  • Method Details

    • samples

      Information about the samples.

      Parameters:
      samples - Information about the samples.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • samples

      ListSamplesResponse.Builder samples(Sample... samples)

      Information about the samples.

      Parameters:
      samples - Information about the samples.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • samples

      Information about the samples.

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

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

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

      ListSamplesResponse.Builder nextToken(String nextToken)

      If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

      Parameters:
      nextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.