Interface UpdateCommentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<UpdateCommentRequest.Builder,
,UpdateCommentRequest> SdkBuilder<UpdateCommentRequest.Builder,
,UpdateCommentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCommentRequest
public static interface UpdateCommentRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<UpdateCommentRequest.Builder,UpdateCommentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe system-generated ID of the comment you want to update.The updated content to replace the existing content of the comment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
-
Method Details
-
commentId
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
- Parameters:
commentId
- The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The updated content to replace the existing content of the comment.
- Parameters:
content
- The updated content to replace the existing content of the comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateCommentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCommentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-