@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.
|
Date |
getEventDate()
The day and time of the pull request event, in timestamp format.
|
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 |
setEventDate(Date eventDate)
The day and time of the pull request event, in timestamp format.
|
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; useful for testing and debugging.
|
PullRequestEvent |
withActorArn(String actorArn)
The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
|
PullRequestEvent |
withEventDate(Date eventDate)
The day and time of the pull request event, in timestamp format.
|
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 additional 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 additional 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 additional 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 additional 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 additional commits or changing the status of a 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.