Interface GetCommentsForPullRequestRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<GetCommentsForPullRequestRequest.Builder,GetCommentsForPullRequestRequest>,SdkBuilder<GetCommentsForPullRequestRequest.Builder,GetCommentsForPullRequestRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetCommentsForPullRequestRequest
public static interface GetCommentsForPullRequestRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<GetCommentsForPullRequestRequest.Builder,GetCommentsForPullRequestRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCommentsForPullRequestRequest.BuilderafterCommitId(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.BuilderbeforeCommitId(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.BuildermaxResults(Integer maxResults)A non-zero, non-negative integer used to limit the number of returned results.GetCommentsForPullRequestRequest.BuildernextToken(String nextToken)An enumeration token that, when provided in a request, returns the next batch of the results.GetCommentsForPullRequestRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetCommentsForPullRequestRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetCommentsForPullRequestRequest.BuilderpullRequestId(String pullRequestId)The system-generated ID of the pull request.GetCommentsForPullRequestRequest.BuilderrepositoryName(String repositoryName)The name of the repository that contains the pull request.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
pullRequestId
GetCommentsForPullRequestRequest.Builder pullRequestId(String pullRequestId)
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
- Parameters:
pullRequestId- The system-generated ID of the pull request. To get this ID, use ListPullRequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
GetCommentsForPullRequestRequest.Builder repositoryName(String repositoryName)
The name of the repository that contains the pull request. Requirement is conditional:
repositoryNamemust be specified whenbeforeCommitIdandafterCommitIdare included.- Parameters:
repositoryName- The name of the repository that contains the pull request. Requirement is conditional:repositoryNamemust be specified whenbeforeCommitIdandafterCommitIdare included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeCommitId
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. Requirement is conditional:
beforeCommitIdmust be specified whenrepositoryNameis included.- Parameters:
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. Requirement is conditional:beforeCommitIdmust be specified whenrepositoryNameis included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterCommitId
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. Requirement is conditional:
afterCommitIdmust be specified whenrepositoryNameis included.- Parameters:
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. Requirement is conditional:afterCommitIdmust be specified whenrepositoryNameis included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetCommentsForPullRequestRequest.Builder nextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
- Parameters:
nextToken- An enumeration token that, when provided in a request, returns the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetCommentsForPullRequestRequest.Builder maxResults(Integer maxResults)
A non-zero, 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.
- Parameters:
maxResults- A non-zero, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCommentsForPullRequestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetCommentsForPullRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-