@Generated(value="software.amazon.awssdk:codegen") public final class UpdateCommentRequest extends CodeCommitRequest implements ToCopyableBuilder<UpdateCommentRequest.Builder,UpdateCommentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateCommentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateCommentRequest.Builder |
builder() |
String |
commentId()
The system-generated ID of the comment you want to update.
|
String |
content()
The updated content to replace the existing content of the comment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateCommentRequest.Builder> |
serializableBuilderClass() |
UpdateCommentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String commentId()
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
public String content()
The updated content to replace the existing content of the comment.
public UpdateCommentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateCommentRequest.Builder,UpdateCommentRequest>toBuilder in class CodeCommitRequestpublic static UpdateCommentRequest.Builder builder()
public static Class<? extends UpdateCommentRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.