@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PostCommentForComparedCommitRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PostCommentForComparedCommitRequest() |
Modifier and Type | Method and Description |
---|---|
PostCommentForComparedCommitRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAfterCommitId()
To establish the directionality of the comparison, the full commit ID of the after commit.
|
String |
getBeforeCommitId()
To establish the directionality of the comparison, the full commit ID of the before commit.
|
String |
getClientRequestToken()
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
String |
getContent()
The content of the comment you want to make.
|
Location |
getLocation()
The location of the comparison where you want to comment.
|
String |
getRepositoryName()
The name of the repository where you want to post a comment on the comparison between commits.
|
int |
hashCode() |
void |
setAfterCommitId(String afterCommitId)
To establish the directionality of the comparison, the full commit ID of the after commit.
|
void |
setBeforeCommitId(String beforeCommitId)
To establish the directionality of the comparison, the full commit ID of the before commit.
|
void |
setClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
void |
setContent(String content)
The content of the comment you want to make.
|
void |
setLocation(Location location)
The location of the comparison where you want to comment.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where you want to post a comment on the comparison between commits.
|
String |
toString()
Returns a string representation of this object.
|
PostCommentForComparedCommitRequest |
withAfterCommitId(String afterCommitId)
To establish the directionality of the comparison, the full commit ID of the after commit.
|
PostCommentForComparedCommitRequest |
withBeforeCommitId(String beforeCommitId)
To establish the directionality of the comparison, the full commit ID of the before commit.
|
PostCommentForComparedCommitRequest |
withClientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
PostCommentForComparedCommitRequest |
withContent(String content)
The content of the comment you want to make.
|
PostCommentForComparedCommitRequest |
withLocation(Location location)
The location of the comparison where you want to comment.
|
PostCommentForComparedCommitRequest |
withRepositoryName(String repositoryName)
The name of the repository where you want to post a comment on the comparison between commits.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRepositoryName(String repositoryName)
The name of the repository where you want to post a comment on the comparison between commits.
repositoryName
- The name of the repository where you want to post a comment on the comparison between commits.public String getRepositoryName()
The name of the repository where you want to post a comment on the comparison between commits.
public PostCommentForComparedCommitRequest withRepositoryName(String repositoryName)
The name of the repository where you want to post a comment on the comparison between commits.
repositoryName
- The name of the repository where you want to post a comment on the comparison between commits.public void setBeforeCommitId(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.
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 getBeforeCommitId()
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 PostCommentForComparedCommitRequest withBeforeCommitId(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.
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 void setAfterCommitId(String afterCommitId)
To establish the directionality of the comparison, the full commit ID of the after commit.
afterCommitId
- To establish the directionality of the comparison, the full commit ID of the after commit.public String getAfterCommitId()
To establish the directionality of the comparison, the full commit ID of the after commit.
public PostCommentForComparedCommitRequest withAfterCommitId(String afterCommitId)
To establish the directionality of the comparison, the full commit ID of the after commit.
afterCommitId
- To establish the directionality of the comparison, the full commit ID of the after commit.public void setLocation(Location location)
The location of the comparison where you want to comment.
location
- The location of the comparison where you want to comment.public Location getLocation()
The location of the comparison where you want to comment.
public PostCommentForComparedCommitRequest withLocation(Location location)
The location of the comparison where you want to comment.
location
- The location of the comparison where you want to comment.public void setContent(String content)
The content of the comment you want to make.
content
- The content of the comment you want to make.public String getContent()
The content of the comment you want to make.
public PostCommentForComparedCommitRequest withContent(String content)
The content of the comment you want to make.
content
- The content of the comment you want to make.public void setClientRequestToken(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.
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 String getClientRequestToken()
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 withClientRequestToken(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.
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 String toString()
toString
in class Object
Object.toString()
public PostCommentForComparedCommitRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()