@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePullRequestEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribePullRequestEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribePullRequestEventsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
|
List<PullRequestEvent> |
getPullRequestEvents()
Information about the pull request events.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
void |
setPullRequestEvents(Collection<PullRequestEvent> pullRequestEvents)
Information about the pull request events.
|
String |
toString()
Returns a string representation of this object.
|
DescribePullRequestEventsResult |
withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
DescribePullRequestEventsResult |
withPullRequestEvents(Collection<PullRequestEvent> pullRequestEvents)
Information about the pull request events.
|
DescribePullRequestEventsResult |
withPullRequestEvents(PullRequestEvent... pullRequestEvents)
Information about the pull request events.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<PullRequestEvent> getPullRequestEvents()
Information about the pull request events.
public void setPullRequestEvents(Collection<PullRequestEvent> pullRequestEvents)
Information about the pull request events.
pullRequestEvents - Information about the pull request events.public DescribePullRequestEventsResult withPullRequestEvents(PullRequestEvent... pullRequestEvents)
Information about the pull request events.
NOTE: This method appends the values to the existing list (if any). Use
setPullRequestEvents(java.util.Collection) or withPullRequestEvents(java.util.Collection) if
you want to override the existing values.
pullRequestEvents - Information about the pull request events.public DescribePullRequestEventsResult withPullRequestEvents(Collection<PullRequestEvent> pullRequestEvents)
Information about the pull request events.
pullRequestEvents - Information about the pull request events.public void setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken - An enumeration token that can be used in a request to return the next batch of the results.public String getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
public DescribePullRequestEventsResult withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken - An enumeration token that can be used in a request to return the next batch of the results.public String toString()
toString in class ObjectObject.toString()public DescribePullRequestEventsResult clone()