Interface PostCommentForComparedCommitRequest.Builder

  • Method Details

    • repositoryName

      PostCommentForComparedCommitRequest.Builder repositoryName(String repositoryName)

      The name of the repository where you want to post a comment on the comparison between commits.

      Parameters:
      repositoryName - The name of the repository where you want to post a comment on the comparison between commits.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • beforeCommitId

      PostCommentForComparedCommitRequest.Builder beforeCommitId(String beforeCommitId)

      To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.

      Parameters:
      beforeCommitId - To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • afterCommitId

      To establish the directionality of the comparison, the full commit ID of the after commit.

      Parameters:
      afterCommitId - To establish the directionality of the comparison, the full commit ID of the after commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      The location of the comparison where you want to comment.

      Parameters:
      location - The location of the comparison where you want to comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      The location of the comparison where you want to comment.

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

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

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

      The content of the comment you want to make.

      Parameters:
      content - The content of the comment you want to make.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      PostCommentForComparedCommitRequest.Builder clientRequestToken(String clientRequestToken)

      A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

      Parameters:
      clientRequestToken - A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.