@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPullRequestsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPullRequestsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPullRequestsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthorArn()
Optional.
|
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 |
getPullRequestStatus()
Optional.
|
String |
getRepositoryName()
The name of the repository for which you want to list pull requests.
|
int |
hashCode() |
void |
setAuthorArn(String authorArn)
Optional.
|
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 |
setPullRequestStatus(String pullRequestStatus)
Optional.
|
void |
setRepositoryName(String repositoryName)
The name of the repository for which you want to list pull requests.
|
String |
toString()
Returns a string representation of this object.
|
ListPullRequestsRequest |
withAuthorArn(String authorArn)
Optional.
|
ListPullRequestsRequest |
withMaxResults(Integer maxResults)
A non-zero, non-negative integer used to limit the number of returned results.
|
ListPullRequestsRequest |
withNextToken(String nextToken)
An enumeration token that, when provided in a request, returns the next batch of the results.
|
ListPullRequestsRequest |
withPullRequestStatus(PullRequestStatusEnum pullRequestStatus)
Optional.
|
ListPullRequestsRequest |
withPullRequestStatus(String pullRequestStatus)
Optional.
|
ListPullRequestsRequest |
withRepositoryName(String repositoryName)
The name of the repository for which you want to list pull requests.
|
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 for which you want to list pull requests.
repositoryName
- The name of the repository for which you want to list pull requests.public String getRepositoryName()
The name of the repository for which you want to list pull requests.
public ListPullRequestsRequest withRepositoryName(String repositoryName)
The name of the repository for which you want to list pull requests.
repositoryName
- The name of the repository for which you want to list pull requests.public void setAuthorArn(String authorArn)
Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
authorArn
- Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters
the results to pull requests created by that user.public String getAuthorArn()
Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
public ListPullRequestsRequest withAuthorArn(String authorArn)
Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
authorArn
- Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters
the results to pull requests created by that user.public void setPullRequestStatus(String pullRequestStatus)
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
pullRequestStatus
- Optional. The status of the pull request. If used, this refines the results to the pull requests that
match the specified status.PullRequestStatusEnum
public String getPullRequestStatus()
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
PullRequestStatusEnum
public ListPullRequestsRequest withPullRequestStatus(String pullRequestStatus)
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
pullRequestStatus
- Optional. The status of the pull request. If used, this refines the results to the pull requests that
match the specified status.PullRequestStatusEnum
public ListPullRequestsRequest withPullRequestStatus(PullRequestStatusEnum pullRequestStatus)
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
pullRequestStatus
- Optional. The status of the pull request. If used, this refines the results to the pull requests that
match the specified status.PullRequestStatusEnum
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 ListPullRequestsRequest 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.
maxResults
- A non-zero, non-negative integer used to limit the number of returned results.public Integer getMaxResults()
A non-zero, non-negative integer used to limit the number of returned results.
public ListPullRequestsRequest withMaxResults(Integer maxResults)
A non-zero, non-negative integer used to limit the number of returned results.
maxResults
- A non-zero, non-negative integer used to limit the number of returned results.public String toString()
toString
in class Object
Object.toString()
public ListPullRequestsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()