@Generated(value="software.amazon.awssdk:codegen") public 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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.
|
static Class<? extends PostCommentForComparedCommitRequest.Builder> |
serializableBuilderClass() |
PostCommentForComparedCommitRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public 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.
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 will return information about the initial request that used that token.
public PostCommentForComparedCommitRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PostCommentForComparedCommitRequest.Builder,PostCommentForComparedCommitRequest>
toBuilder
in class CodeCommitRequest
public static PostCommentForComparedCommitRequest.Builder builder()
public static Class<? extends PostCommentForComparedCommitRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.