@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.ApprovalState
public String getApprovalStatus()
The approval status for the pull request.
ApprovalState
public ApprovalStateChangedEventMetadata withApprovalStatus(String approvalStatus)
The approval status for the pull request.
approvalStatus
- The approval status for the pull request.ApprovalState
public ApprovalStateChangedEventMetadata withApprovalStatus(ApprovalState approvalStatus)
The approval status for the pull request.
approvalStatus
- The approval status for the pull request.ApprovalState
public String toString()
toString
in class Object
Object.toString()
public ApprovalStateChangedEventMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.