public static interface GetCommentsForPullRequestResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetCommentsForPullRequestResponse.Builder,GetCommentsForPullRequestResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCommentsForPullRequestResponse.Builder |
commentsForPullRequestData(Collection<CommentsForPullRequest> commentsForPullRequestData)
An array of comment objects on the pull request.
|
GetCommentsForPullRequestResponse.Builder |
commentsForPullRequestData(CommentsForPullRequest... commentsForPullRequestData)
An array of comment objects on the pull request.
|
GetCommentsForPullRequestResponse.Builder |
commentsForPullRequestData(Consumer<CommentsForPullRequest.Builder>... commentsForPullRequestData)
An array of comment objects on the pull request.
|
GetCommentsForPullRequestResponse.Builder |
nextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCommentsForPullRequestResponse.Builder commentsForPullRequestData(Collection<CommentsForPullRequest> commentsForPullRequestData)
An array of comment objects on the pull request.
commentsForPullRequestData - An array of comment objects on the pull request.GetCommentsForPullRequestResponse.Builder commentsForPullRequestData(CommentsForPullRequest... commentsForPullRequestData)
An array of comment objects on the pull request.
commentsForPullRequestData - An array of comment objects on the pull request.GetCommentsForPullRequestResponse.Builder commentsForPullRequestData(Consumer<CommentsForPullRequest.Builder>... commentsForPullRequestData)
An array of comment objects on the pull request.
This is a convenience method that creates an instance of theCommentsForPullRequest.Builder avoiding the need to
create one manually via
CommentsForPullRequest.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #commentsForPullRequestData(List.
commentsForPullRequestData - a consumer that will call methods on
CommentsForPullRequest.Builder#commentsForPullRequestData(java.util.Collection) GetCommentsForPullRequestResponse.Builder nextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken - An enumeration token that can be used in a request to return the next batch of the results.Copyright © 2022. All rights reserved.