@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.PullRequestStatusEnum
public String getPullRequestStatus()
The changed status of the pull request.
PullRequestStatusEnum
public PullRequestStatusChangedEventMetadata withPullRequestStatus(String pullRequestStatus)
The changed status of the pull request.
pullRequestStatus
- The changed status of the pull request.PullRequestStatusEnum
public PullRequestStatusChangedEventMetadata withPullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The changed status of the pull request.
pullRequestStatus
- The changed status of the pull request.PullRequestStatusEnum
public String toString()
toString
in class Object
Object.toString()
public PullRequestStatusChangedEventMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.