@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCommentsForPullRequestRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetCommentsForPullRequestRequest() |
Modifier and Type | Method and Description |
---|---|
GetCommentsForPullRequestRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAfterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was
made.
|
String |
getBeforeCommitId()
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.
|
Integer |
getMaxResults()
A non-zero, non-negative integer used to limit the number of returned results.
|
String |
getNextToken()
An enumeration token that, when provided in a request, returns the next batch of the results.
|
String |
getPullRequestId()
The system-generated ID of the pull request.
|
String |
getRepositoryName()
The name of the repository that contains the pull request.
|
int |
hashCode() |
void |
setAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was
made.
|
void |
setBeforeCommitId(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.
|
void |
setMaxResults(Integer maxResults)
A non-zero, non-negative integer used to limit the number of returned results.
|
void |
setNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
|
void |
setPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
void |
setRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
|
String |
toString()
Returns a string representation of this object.
|
GetCommentsForPullRequestRequest |
withAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was
made.
|
GetCommentsForPullRequestRequest |
withBeforeCommitId(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.
|
GetCommentsForPullRequestRequest |
withMaxResults(Integer maxResults)
A non-zero, non-negative integer used to limit the number of returned results.
|
GetCommentsForPullRequestRequest |
withNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
|
GetCommentsForPullRequestRequest |
withPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
GetCommentsForPullRequestRequest |
withRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
|
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 setPullRequestId(String pullRequestId)
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
pullRequestId
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.public String getPullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
public GetCommentsForPullRequestRequest withPullRequestId(String pullRequestId)
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
pullRequestId
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.public void setRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
repositoryName
- The name of the repository that contains the pull request.public String getRepositoryName()
The name of the repository that contains the pull request.
public GetCommentsForPullRequestRequest withRepositoryName(String repositoryName)
The name of the repository that contains the pull request.
repositoryName
- The name of the repository that contains the pull request.public void setBeforeCommitId(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.
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 getBeforeCommitId()
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 GetCommentsForPullRequestRequest withBeforeCommitId(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.
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 void setAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.
afterCommitId
- The full commit ID of the commit in the source branch that was the tip of the branch at the time the
comment was made.public String getAfterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.
public GetCommentsForPullRequestRequest withAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.
afterCommitId
- The full commit ID of the commit in the source branch that was the tip of the branch at the time the
comment was made.public void setNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
nextToken
- An enumeration token that, when provided in a request, returns the next batch of the results.public String getNextToken()
An enumeration token that, when provided in a request, returns the next batch of the results.
public GetCommentsForPullRequestRequest withNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
nextToken
- An enumeration token that, when provided in a request, returns the next batch of the results.public void setMaxResults(Integer maxResults)
A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.
maxResults
- A non-zero, non-negative integer used to limit the number of returned results. The default is 100
comments. You can return up to 500 comments with a single request.public Integer getMaxResults()
A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.
public GetCommentsForPullRequestRequest withMaxResults(Integer maxResults)
A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.
maxResults
- A non-zero, non-negative integer used to limit the number of returned results. The default is 100
comments. You can return up to 500 comments with a single request.public String toString()
toString
in class Object
Object.toString()
public GetCommentsForPullRequestRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()