Interface GetCommentsForPullRequestResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<GetCommentsForPullRequestResponse.Builder,GetCommentsForPullRequestResponse>,SdkBuilder<GetCommentsForPullRequestResponse.Builder,GetCommentsForPullRequestResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCommentsForPullRequestResponse
public static interface GetCommentsForPullRequestResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetCommentsForPullRequestResponse.Builder,GetCommentsForPullRequestResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCommentsForPullRequestResponse.BuildercommentsForPullRequestData(Collection<CommentsForPullRequest> commentsForPullRequestData)An array of comment objects on the pull request.GetCommentsForPullRequestResponse.BuildercommentsForPullRequestData(Consumer<CommentsForPullRequest.Builder>... commentsForPullRequestData)An array of comment objects on the pull request.GetCommentsForPullRequestResponse.BuildercommentsForPullRequestData(CommentsForPullRequest... commentsForPullRequestData)An array of comment objects on the pull request.GetCommentsForPullRequestResponse.BuildernextToken(String nextToken)An enumeration token that can be used in a request to return the next batch of the results.-
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
commentsForPullRequestData
GetCommentsForPullRequestResponse.Builder commentsForPullRequestData(Collection<CommentsForPullRequest> commentsForPullRequestData)
An array of comment objects on the pull request.
- Parameters:
commentsForPullRequestData- An array of comment objects on the pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commentsForPullRequestData
GetCommentsForPullRequestResponse.Builder commentsForPullRequestData(CommentsForPullRequest... commentsForPullRequestData)
An array of comment objects on the pull request.
- Parameters:
commentsForPullRequestData- An array of comment objects on the pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commentsForPullRequestData
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.Builderavoiding the need to create one manually viaCommentsForPullRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#commentsForPullRequestData(List.) - Parameters:
commentsForPullRequestData- a consumer that will call methods onCommentsForPullRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#commentsForPullRequestData(java.util.Collection)
-
nextToken
GetCommentsForPullRequestResponse.Builder nextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
- Parameters:
nextToken- An enumeration token that can be used in a request to return the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-