Interface ListCommentsResponse.Builder

  • Method Details

    • nextToken

      ListCommentsResponse.Builder nextToken(String nextToken)

      Optional request elements.

      Parameters:
      nextToken - Optional request elements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.

      Parameters:
      items - Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.

      Parameters:
      items - Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.

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

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

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

      Response element for ListComments identifying the number of responses.

      Parameters:
      total - Response element for ListComments identifying the number of responses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.