@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 final String commentId()
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
public final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.