@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PullRequestEvent extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a pull request event.
Constructor and Description |
---|
PullRequestEvent() |
Modifier and Type | Method and Description |
---|---|
PullRequestEvent |
clone() |
boolean |
equals(Object obj) |
String |
getActorArn()
The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
|
ApprovalRuleEventMetadata |
getApprovalRuleEventMetadata()
Information about a pull request event.
|
ApprovalRuleOverriddenEventMetadata |
getApprovalRuleOverriddenEventMetadata()
Information about an approval rule override event for a pull request.
|
ApprovalStateChangedEventMetadata |
getApprovalStateChangedEventMetadata()
Information about an approval state change for a pull request.
|
Date |
getEventDate()
The day and time of the pull request event, in timestamp format.
|
PullRequestCreatedEventMetadata |
getPullRequestCreatedEventMetadata()
Information about the source and destination branches for the pull request.
|
String |
getPullRequestEventType()
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update
event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
|
String |
getPullRequestId()
The system-generated ID of the pull request.
|
PullRequestMergedStateChangedEventMetadata |
getPullRequestMergedStateChangedEventMetadata()
Information about the change in mergability state for the pull request event.
|
PullRequestSourceReferenceUpdatedEventMetadata |
getPullRequestSourceReferenceUpdatedEventMetadata()
Information about the updated source branch for the pull request event.
|
PullRequestStatusChangedEventMetadata |
getPullRequestStatusChangedEventMetadata()
Information about the change in status for the pull request event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActorArn(String actorArn)
The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
|
void |
setApprovalRuleEventMetadata(ApprovalRuleEventMetadata approvalRuleEventMetadata)
Information about a pull request event.
|
void |
setApprovalRuleOverriddenEventMetadata(ApprovalRuleOverriddenEventMetadata approvalRuleOverriddenEventMetadata)
Information about an approval rule override event for a pull request.
|
void |
setApprovalStateChangedEventMetadata(ApprovalStateChangedEventMetadata approvalStateChangedEventMetadata)
Information about an approval state change for a pull request.
|
void |
setEventDate(Date eventDate)
The day and time of the pull request event, in timestamp format.
|
void |
setPullRequestCreatedEventMetadata(PullRequestCreatedEventMetadata pullRequestCreatedEventMetadata)
Information about the source and destination branches for the pull request.
|
void |
setPullRequestEventType(String pullRequestEventType)
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update
event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
|
void |
setPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
void |
setPullRequestMergedStateChangedEventMetadata(PullRequestMergedStateChangedEventMetadata pullRequestMergedStateChangedEventMetadata)
Information about the change in mergability state for the pull request event.
|
void |
setPullRequestSourceReferenceUpdatedEventMetadata(PullRequestSourceReferenceUpdatedEventMetadata pullRequestSourceReferenceUpdatedEventMetadata)
Information about the updated source branch for the pull request event.
|
void |
setPullRequestStatusChangedEventMetadata(PullRequestStatusChangedEventMetadata pullRequestStatusChangedEventMetadata)
Information about the change in status for the pull request event.
|
String |
toString()
Returns a string representation of this object.
|
PullRequestEvent |
withActorArn(String actorArn)
The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
|
PullRequestEvent |
withApprovalRuleEventMetadata(ApprovalRuleEventMetadata approvalRuleEventMetadata)
Information about a pull request event.
|
PullRequestEvent |
withApprovalRuleOverriddenEventMetadata(ApprovalRuleOverriddenEventMetadata approvalRuleOverriddenEventMetadata)
Information about an approval rule override event for a pull request.
|
PullRequestEvent |
withApprovalStateChangedEventMetadata(ApprovalStateChangedEventMetadata approvalStateChangedEventMetadata)
Information about an approval state change for a pull request.
|
PullRequestEvent |
withEventDate(Date eventDate)
The day and time of the pull request event, in timestamp format.
|
PullRequestEvent |
withPullRequestCreatedEventMetadata(PullRequestCreatedEventMetadata pullRequestCreatedEventMetadata)
Information about the source and destination branches for the pull request.
|
PullRequestEvent |
withPullRequestEventType(PullRequestEventType pullRequestEventType)
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update
event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
|
PullRequestEvent |
withPullRequestEventType(String pullRequestEventType)
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update
event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
|
PullRequestEvent |
withPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
PullRequestEvent |
withPullRequestMergedStateChangedEventMetadata(PullRequestMergedStateChangedEventMetadata pullRequestMergedStateChangedEventMetadata)
Information about the change in mergability state for the pull request event.
|
PullRequestEvent |
withPullRequestSourceReferenceUpdatedEventMetadata(PullRequestSourceReferenceUpdatedEventMetadata pullRequestSourceReferenceUpdatedEventMetadata)
Information about the updated source branch for the pull request event.
|
PullRequestEvent |
withPullRequestStatusChangedEventMetadata(PullRequestStatusChangedEventMetadata pullRequestStatusChangedEventMetadata)
Information about the change in status for the pull request event.
|
public void setPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
pullRequestId
- The system-generated ID of the pull request.public String getPullRequestId()
The system-generated ID of the pull request.
public PullRequestEvent withPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
pullRequestId
- The system-generated ID of the pull request.public void setEventDate(Date eventDate)
The day and time of the pull request event, in timestamp format.
eventDate
- The day and time of the pull request event, in timestamp format.public Date getEventDate()
The day and time of the pull request event, in timestamp format.
public PullRequestEvent withEventDate(Date eventDate)
The day and time of the pull request event, in timestamp format.
eventDate
- The day and time of the pull request event, in timestamp format.public void setPullRequestEventType(String pullRequestEventType)
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
pullRequestEventType
- The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or
update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).PullRequestEventType
public String getPullRequestEventType()
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
PullRequestEventType
public PullRequestEvent withPullRequestEventType(String pullRequestEventType)
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
pullRequestEventType
- The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or
update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).PullRequestEventType
public PullRequestEvent withPullRequestEventType(PullRequestEventType pullRequestEventType)
The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
pullRequestEventType
- The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or
update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).PullRequestEventType
public void setActorArn(String actorArn)
The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.
actorArn
- The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating
the pull request with more commits or changing the status of a pull request.public String getActorArn()
The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.
public PullRequestEvent withActorArn(String actorArn)
The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.
actorArn
- The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating
the pull request with more commits or changing the status of a pull request.public void setPullRequestCreatedEventMetadata(PullRequestCreatedEventMetadata pullRequestCreatedEventMetadata)
Information about the source and destination branches for the pull request.
pullRequestCreatedEventMetadata
- Information about the source and destination branches for the pull request.public PullRequestCreatedEventMetadata getPullRequestCreatedEventMetadata()
Information about the source and destination branches for the pull request.
public PullRequestEvent withPullRequestCreatedEventMetadata(PullRequestCreatedEventMetadata pullRequestCreatedEventMetadata)
Information about the source and destination branches for the pull request.
pullRequestCreatedEventMetadata
- Information about the source and destination branches for the pull request.public void setPullRequestStatusChangedEventMetadata(PullRequestStatusChangedEventMetadata pullRequestStatusChangedEventMetadata)
Information about the change in status for the pull request event.
pullRequestStatusChangedEventMetadata
- Information about the change in status for the pull request event.public PullRequestStatusChangedEventMetadata getPullRequestStatusChangedEventMetadata()
Information about the change in status for the pull request event.
public PullRequestEvent withPullRequestStatusChangedEventMetadata(PullRequestStatusChangedEventMetadata pullRequestStatusChangedEventMetadata)
Information about the change in status for the pull request event.
pullRequestStatusChangedEventMetadata
- Information about the change in status for the pull request event.public void setPullRequestSourceReferenceUpdatedEventMetadata(PullRequestSourceReferenceUpdatedEventMetadata pullRequestSourceReferenceUpdatedEventMetadata)
Information about the updated source branch for the pull request event.
pullRequestSourceReferenceUpdatedEventMetadata
- Information about the updated source branch for the pull request event.public PullRequestSourceReferenceUpdatedEventMetadata getPullRequestSourceReferenceUpdatedEventMetadata()
Information about the updated source branch for the pull request event.
public PullRequestEvent withPullRequestSourceReferenceUpdatedEventMetadata(PullRequestSourceReferenceUpdatedEventMetadata pullRequestSourceReferenceUpdatedEventMetadata)
Information about the updated source branch for the pull request event.
pullRequestSourceReferenceUpdatedEventMetadata
- Information about the updated source branch for the pull request event.public void setPullRequestMergedStateChangedEventMetadata(PullRequestMergedStateChangedEventMetadata pullRequestMergedStateChangedEventMetadata)
Information about the change in mergability state for the pull request event.
pullRequestMergedStateChangedEventMetadata
- Information about the change in mergability state for the pull request event.public PullRequestMergedStateChangedEventMetadata getPullRequestMergedStateChangedEventMetadata()
Information about the change in mergability state for the pull request event.
public PullRequestEvent withPullRequestMergedStateChangedEventMetadata(PullRequestMergedStateChangedEventMetadata pullRequestMergedStateChangedEventMetadata)
Information about the change in mergability state for the pull request event.
pullRequestMergedStateChangedEventMetadata
- Information about the change in mergability state for the pull request event.public void setApprovalRuleEventMetadata(ApprovalRuleEventMetadata approvalRuleEventMetadata)
Information about a pull request event.
approvalRuleEventMetadata
- Information about a pull request event.public ApprovalRuleEventMetadata getApprovalRuleEventMetadata()
Information about a pull request event.
public PullRequestEvent withApprovalRuleEventMetadata(ApprovalRuleEventMetadata approvalRuleEventMetadata)
Information about a pull request event.
approvalRuleEventMetadata
- Information about a pull request event.public void setApprovalStateChangedEventMetadata(ApprovalStateChangedEventMetadata approvalStateChangedEventMetadata)
Information about an approval state change for a pull request.
approvalStateChangedEventMetadata
- Information about an approval state change for a pull request.public ApprovalStateChangedEventMetadata getApprovalStateChangedEventMetadata()
Information about an approval state change for a pull request.
public PullRequestEvent withApprovalStateChangedEventMetadata(ApprovalStateChangedEventMetadata approvalStateChangedEventMetadata)
Information about an approval state change for a pull request.
approvalStateChangedEventMetadata
- Information about an approval state change for a pull request.public void setApprovalRuleOverriddenEventMetadata(ApprovalRuleOverriddenEventMetadata approvalRuleOverriddenEventMetadata)
Information about an approval rule override event for a pull request.
approvalRuleOverriddenEventMetadata
- Information about an approval rule override event for a pull request.public ApprovalRuleOverriddenEventMetadata getApprovalRuleOverriddenEventMetadata()
Information about an approval rule override event for a pull request.
public PullRequestEvent withApprovalRuleOverriddenEventMetadata(ApprovalRuleOverriddenEventMetadata approvalRuleOverriddenEventMetadata)
Information about an approval rule override event for a pull request.
approvalRuleOverriddenEventMetadata
- Information about an approval rule override event for a pull request.public String toString()
toString
in class Object
Object.toString()
public PullRequestEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.