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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetCommentsForPullRequestResponse.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 that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #commentsForPullRequestData(List)
.commentsForPullRequestData
- a consumer that will call methods on List.Builder
#commentsForPullRequestData(List)
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.