Interface BatchGetCommentError.Builder

  • Method Details

    • key

      The identifier of the comment that the operation could not retrieve.

      Parameters:
      key - The identifier of the comment that the operation could not retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The identifier of the comment that the operation could not retrieve.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to key(CommentKey).

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

      The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.

      Parameters:
      code - The error code. Known values: NOT_FOUND, ACCESS_DENIED, THROTTLED, INTERNAL_ERROR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      A human-readable explanation of why the operation could not return this comment. Intended for display and logging; match on code for programmatic handling.

      Parameters:
      message - A human-readable explanation of why the operation could not return this comment. Intended for display and logging; match on code for programmatic handling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.