@Generated(value="software.amazon.awssdk:codegen") public final class PullRequestCreatedEventMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PullRequestCreatedEventMetadata.Builder,PullRequestCreatedEventMetadata>
Metadata about the pull request that is used when comparing the pull request source with its destination.
Modifier and Type | Class and Description |
---|---|
static interface |
PullRequestCreatedEventMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static PullRequestCreatedEventMetadata.Builder |
builder() |
String |
destinationCommitId()
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
|
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 created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PullRequestCreatedEventMetadata.Builder> |
serializableBuilderClass() |
String |
sourceCommitId()
The commit ID on the source branch used when the pull request was created.
|
PullRequestCreatedEventMetadata.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 created.
public String sourceCommitId()
The commit ID on the source branch used when the pull request was created.
public String destinationCommitId()
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
public String mergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
public PullRequestCreatedEventMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PullRequestCreatedEventMetadata.Builder,PullRequestCreatedEventMetadata>
public static PullRequestCreatedEventMetadata.Builder builder()
public static Class<? extends PullRequestCreatedEventMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.