@Generated(value="software.amazon.awssdk:codegen") public final class PostCommentForPullRequestRequest extends CodeCommitRequest implements ToCopyableBuilder<PostCommentForPullRequestRequest.Builder,PostCommentForPullRequestRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PostCommentForPullRequestRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
afterCommitId()
The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request
when you post the comment.
|
String |
beforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull
request was created.
|
static PostCommentForPullRequestRequest.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 your comment on the change.
|
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 change where you want to post your comment.
|
String |
pullRequestId()
The system-generated ID of the pull request.
|
String |
repositoryName()
The name of the repository where you want to post a comment on a pull request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PostCommentForPullRequestRequest.Builder> |
serializableBuilderClass() |
PostCommentForPullRequestRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String pullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
public String repositoryName()
The name of the repository where you want to post a comment on a pull request.
public String beforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.
public String afterCommitId()
The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.
public Location location()
The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID.
public String content()
The content of your comment on the change.
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 PostCommentForPullRequestRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PostCommentForPullRequestRequest.Builder,PostCommentForPullRequestRequest>toBuilder in class CodeCommitRequestpublic static PostCommentForPullRequestRequest.Builder builder()
public static Class<? extends PostCommentForPullRequestRequest.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.