@Generated(value="software.amazon.awssdk:codegen") public final class PullRequestSourceReferenceUpdatedEventMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PullRequestSourceReferenceUpdatedEventMetadata.Builder,PullRequestSourceReferenceUpdatedEventMetadata>
Information about an update to the source branch of a pull request.
Modifier and Type | Class and Description |
---|---|
static interface |
PullRequestSourceReferenceUpdatedEventMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
String |
afterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request
was updated.
|
String |
beforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull
request was updated.
|
static PullRequestSourceReferenceUpdatedEventMetadata.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
mergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
|
String |
repositoryName()
The name of the repository where the pull request was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PullRequestSourceReferenceUpdatedEventMetadata.Builder> |
serializableBuilderClass() |
PullRequestSourceReferenceUpdatedEventMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String repositoryName()
The name of the repository where the pull request was updated.
public String beforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
public String afterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
public String mergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
public PullRequestSourceReferenceUpdatedEventMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PullRequestSourceReferenceUpdatedEventMetadata.Builder,PullRequestSourceReferenceUpdatedEventMetadata>
public static PullRequestSourceReferenceUpdatedEventMetadata.Builder builder()
public static Class<? extends PullRequestSourceReferenceUpdatedEventMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.