@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PullRequestStatusChangedEventMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Information about a change to the status of a pull request.
| Constructor and Description |
|---|
PullRequestStatusChangedEventMetadata() |
| Modifier and Type | Method and Description |
|---|---|
PullRequestStatusChangedEventMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getPullRequestStatus()
The changed status of the pull request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPullRequestStatus(String pullRequestStatus)
The changed status of the pull request.
|
String |
toString()
Returns a string representation of this object.
|
PullRequestStatusChangedEventMetadata |
withPullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The changed status of the pull request.
|
PullRequestStatusChangedEventMetadata |
withPullRequestStatus(String pullRequestStatus)
The changed status of the pull request.
|
public PullRequestStatusChangedEventMetadata()
public void setPullRequestStatus(String pullRequestStatus)
The changed status of the pull request.
pullRequestStatus - The changed status of the pull request.PullRequestStatusEnumpublic String getPullRequestStatus()
The changed status of the pull request.
PullRequestStatusEnumpublic PullRequestStatusChangedEventMetadata withPullRequestStatus(String pullRequestStatus)
The changed status of the pull request.
pullRequestStatus - The changed status of the pull request.PullRequestStatusEnumpublic PullRequestStatusChangedEventMetadata withPullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The changed status of the pull request.
pullRequestStatus - The changed status of the pull request.PullRequestStatusEnumpublic String toString()
toString in class ObjectObject.toString()public PullRequestStatusChangedEventMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.