@Generated(value="software.amazon.awssdk:codegen") public final class PostCommentForComparedCommitRequest extends CodeCommitRequest implements ToCopyableBuilder<PostCommentForComparedCommitRequest.Builder,PostCommentForComparedCommitRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PostCommentForComparedCommitRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
afterCommitId()
To establish the directionality of the comparison, the full commit ID of the after commit.
|
String |
beforeCommitId()
To establish the directionality of the comparison, the full commit ID of the before commit.
|
static PostCommentForComparedCommitRequest.Builder |
builder() |
String |
clientRequestToken()
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
String |
content()
The content of the comment you want to make.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Location |
location()
The location of the comparison where you want to comment.
|
String |
repositoryName()
The name of the repository where you want to post a comment on the comparison between commits.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PostCommentForComparedCommitRequest.Builder> |
serializableBuilderClass() |
PostCommentForComparedCommitRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String repositoryName()
The name of the repository where you want to post a comment on the comparison between commits.
public final String beforeCommitId()
To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.
public final String afterCommitId()
To establish the directionality of the comparison, the full commit ID of the after commit.
public final Location location()
The location of the comparison where you want to comment.
public final String content()
The content of the comment you want to make.
public final String clientRequestToken()
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
public PostCommentForComparedCommitRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PostCommentForComparedCommitRequest.Builder,PostCommentForComparedCommitRequest>toBuilder in class CodeCommitRequestpublic static PostCommentForComparedCommitRequest.Builder builder()
public static Class<? extends PostCommentForComparedCommitRequest.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.