@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPullRequestsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPullRequestsResult() |
Modifier and Type | Method and Description |
---|---|
ListPullRequestsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An enumeration token that when provided in a request, returns the next batch of the results.
|
List<String> |
getPullRequestIds()
The system-generated IDs of the pull requests.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An enumeration token that when provided in a request, returns the next batch of the results.
|
void |
setPullRequestIds(Collection<String> pullRequestIds)
The system-generated IDs of the pull requests.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListPullRequestsResult |
withNextToken(String nextToken)
An enumeration token that when provided in a request, returns the next batch of the results.
|
ListPullRequestsResult |
withPullRequestIds(Collection<String> pullRequestIds)
The system-generated IDs of the pull requests.
|
ListPullRequestsResult |
withPullRequestIds(String... pullRequestIds)
The system-generated IDs of the pull requests.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getPullRequestIds()
The system-generated IDs of the pull requests.
public void setPullRequestIds(Collection<String> pullRequestIds)
The system-generated IDs of the pull requests.
pullRequestIds
- The system-generated IDs of the pull requests.public ListPullRequestsResult withPullRequestIds(String... pullRequestIds)
The system-generated IDs of the pull requests.
NOTE: This method appends the values to the existing list (if any). Use
setPullRequestIds(java.util.Collection)
or withPullRequestIds(java.util.Collection)
if you want
to override the existing values.
pullRequestIds
- The system-generated IDs of the pull requests.public ListPullRequestsResult withPullRequestIds(Collection<String> pullRequestIds)
The system-generated IDs of the pull requests.
pullRequestIds
- The system-generated IDs of the pull requests.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 ListPullRequestsResult 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 String toString()
toString
in class Object
Object.toString()
public ListPullRequestsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.