public static interface GetCommentsForPullRequestRequest.Builder extends CodeCommitRequest.Builder, CopyableBuilder<GetCommentsForPullRequestRequest.Builder,GetCommentsForPullRequestRequest>
Modifier and Type | Method and Description |
---|---|
GetCommentsForPullRequestRequest.Builder |
afterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment
was made.
|
GetCommentsForPullRequestRequest.Builder |
beforeCommitId(String beforeCommitId)
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the
pull request was created.
|
GetCommentsForPullRequestRequest.Builder |
maxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results.
|
GetCommentsForPullRequestRequest.Builder |
nextToken(String nextToken)
An enumeration token that when provided in a request, returns the next batch of the results.
|
GetCommentsForPullRequestRequest.Builder |
pullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
GetCommentsForPullRequestRequest.Builder |
repositoryName(String repositoryName)
The name of the repository that contains the pull request.
|
GetCommentsForPullRequestRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GetCommentsForPullRequestRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
GetCommentsForPullRequestRequest.Builder pullRequestId(String pullRequestId)
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
pullRequestId
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.GetCommentsForPullRequestRequest.Builder repositoryName(String repositoryName)
The name of the repository that contains the pull request.
repositoryName
- The name of the repository that contains the pull request.GetCommentsForPullRequestRequest.Builder beforeCommitId(String beforeCommitId)
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.
beforeCommitId
- The full commit ID of the commit in the destination branch that was the tip of the branch at the time
the pull request was created.GetCommentsForPullRequestRequest.Builder afterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.
afterCommitId
- The full commit ID of the commit in the source branch that was the tip of the branch at the time the
comment was made.GetCommentsForPullRequestRequest.Builder nextToken(String nextToken)
An enumeration token that when provided in a request, returns the next batch of the results.
nextToken
- An enumeration token that when provided in a request, returns the next batch of the results.GetCommentsForPullRequestRequest.Builder maxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.
maxResults
- A non-negative integer used to limit the number of returned results. The default is 100 comments. You
can return up to 500 comments with a single request.GetCommentsForPullRequestRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.GetCommentsForPullRequestRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.