@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApprovalStateChangedEventMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a change in the approval state for a pull request.
| Constructor and Description |
|---|
ApprovalStateChangedEventMetadata() |
| Modifier and Type | Method and Description |
|---|---|
ApprovalStateChangedEventMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getApprovalStatus()
The approval status for the pull request.
|
String |
getRevisionId()
The revision ID of the pull request when the approval state changed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApprovalStatus(String approvalStatus)
The approval status for the pull request.
|
void |
setRevisionId(String revisionId)
The revision ID of the pull request when the approval state changed.
|
String |
toString()
Returns a string representation of this object.
|
ApprovalStateChangedEventMetadata |
withApprovalStatus(ApprovalState approvalStatus)
The approval status for the pull request.
|
ApprovalStateChangedEventMetadata |
withApprovalStatus(String approvalStatus)
The approval status for the pull request.
|
ApprovalStateChangedEventMetadata |
withRevisionId(String revisionId)
The revision ID of the pull request when the approval state changed.
|
public void setRevisionId(String revisionId)
The revision ID of the pull request when the approval state changed.
revisionId - The revision ID of the pull request when the approval state changed.public String getRevisionId()
The revision ID of the pull request when the approval state changed.
public ApprovalStateChangedEventMetadata withRevisionId(String revisionId)
The revision ID of the pull request when the approval state changed.
revisionId - The revision ID of the pull request when the approval state changed.public void setApprovalStatus(String approvalStatus)
The approval status for the pull request.
approvalStatus - The approval status for the pull request.ApprovalStatepublic String getApprovalStatus()
The approval status for the pull request.
ApprovalStatepublic ApprovalStateChangedEventMetadata withApprovalStatus(String approvalStatus)
The approval status for the pull request.
approvalStatus - The approval status for the pull request.ApprovalStatepublic ApprovalStateChangedEventMetadata withApprovalStatus(ApprovalState approvalStatus)
The approval status for the pull request.
approvalStatus - The approval status for the pull request.ApprovalStatepublic String toString()
toString in class ObjectObject.toString()public ApprovalStateChangedEventMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.