@Generated(value="software.amazon.awssdk:codegen") public final class PullRequestSourceReferenceUpdatedEventMetadata extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
repositoryName()
The name of the repository where the pull request was updated.
|
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 PullRequestSourceReferenceUpdatedEventMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PullRequestSourceReferenceUpdatedEventMetadata.Builder,PullRequestSourceReferenceUpdatedEventMetadata>
public static PullRequestSourceReferenceUpdatedEventMetadata.Builder builder()
public static Class<? extends PullRequestSourceReferenceUpdatedEventMetadata.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.