@Generated(value="software.amazon.awssdk:codegen") public class PullRequestMergedStateChangedEventMetadata extends Object implements StructuredPojo, ToCopyableBuilder<PullRequestMergedStateChangedEventMetadata.Builder,PullRequestMergedStateChangedEventMetadata>
Returns information about the change in the merge state for a pull request event.
Modifier and Type | Class and Description |
---|---|
static interface |
PullRequestMergedStateChangedEventMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static PullRequestMergedStateChangedEventMetadata.Builder |
builder() |
String |
destinationReference()
The name of the branch that the pull request will be merged into.
|
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 . |
MergeMetadata |
mergeMetadata()
Information about the merge state change event.
|
String |
repositoryName()
The name of the repository where the pull request was created.
|
static Class<? extends PullRequestMergedStateChangedEventMetadata.Builder> |
serializableBuilderClass() |
PullRequestMergedStateChangedEventMetadata.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 destinationReference()
The name of the branch that the pull request will be merged into.
public MergeMetadata mergeMetadata()
Information about the merge state change event.
public PullRequestMergedStateChangedEventMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PullRequestMergedStateChangedEventMetadata.Builder,PullRequestMergedStateChangedEventMetadata>
public static PullRequestMergedStateChangedEventMetadata.Builder builder()
public static Class<? extends PullRequestMergedStateChangedEventMetadata.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.