Interface DeleteCommentContentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<DeleteCommentContentResponse.Builder,DeleteCommentContentResponse>,SdkBuilder<DeleteCommentContentResponse.Builder,DeleteCommentContentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeleteCommentContentResponse
public static interface DeleteCommentContentResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<DeleteCommentContentResponse.Builder,DeleteCommentContentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeleteCommentContentResponse.Buildercomment(Consumer<Comment.Builder> comment)Information about the comment you just deleted.DeleteCommentContentResponse.Buildercomment(Comment comment)Information about the comment you just deleted.-
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
-
comment
DeleteCommentContentResponse.Builder comment(Comment comment)
Information about the comment you just deleted.
- Parameters:
comment- Information about the comment you just deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
default DeleteCommentContentResponse.Builder comment(Consumer<Comment.Builder> comment)
Information about the comment you just deleted.
This is a convenience method that creates an instance of theComment.Builderavoiding the need to create one manually viaComment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomment(Comment).- Parameters:
comment- a consumer that will call methods onComment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
comment(Comment)
-
-