@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 String repositoryName()
The name of the repository where you want to post a comment on the comparison between commits.
public 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 String afterCommitId()
To establish the directionality of the comparison, the full commit ID of the after commit.
public Location location()
The location of the comparison where you want to comment.
public String content()
The content of the comment you want to make.
public 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 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.