@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PullRequestMergedStateChangedEventMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about the change in the merge state for a pull request event.
Constructor and Description |
---|
PullRequestMergedStateChangedEventMetadata() |
Modifier and Type | Method and Description |
---|---|
PullRequestMergedStateChangedEventMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationReference()
The name of the branch that the pull request will be merged into.
|
MergeMetadata |
getMergeMetadata()
Information about the merge state change event.
|
String |
getRepositoryName()
The name of the repository where the pull request was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationReference(String destinationReference)
The name of the branch that the pull request will be merged into.
|
void |
setMergeMetadata(MergeMetadata mergeMetadata)
Information about the merge state change event.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
|
String |
toString()
Returns a string representation of this object.
|
PullRequestMergedStateChangedEventMetadata |
withDestinationReference(String destinationReference)
The name of the branch that the pull request will be merged into.
|
PullRequestMergedStateChangedEventMetadata |
withMergeMetadata(MergeMetadata mergeMetadata)
Information about the merge state change event.
|
PullRequestMergedStateChangedEventMetadata |
withRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
|
public PullRequestMergedStateChangedEventMetadata()
public void setRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
repositoryName
- The name of the repository where the pull request was created.public String getRepositoryName()
The name of the repository where the pull request was created.
public PullRequestMergedStateChangedEventMetadata withRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
repositoryName
- The name of the repository where the pull request was created.public void setDestinationReference(String destinationReference)
The name of the branch that the pull request will be merged into.
destinationReference
- The name of the branch that the pull request will be merged into.public String getDestinationReference()
The name of the branch that the pull request will be merged into.
public PullRequestMergedStateChangedEventMetadata withDestinationReference(String destinationReference)
The name of the branch that the pull request will be merged into.
destinationReference
- The name of the branch that the pull request will be merged into.public void setMergeMetadata(MergeMetadata mergeMetadata)
Information about the merge state change event.
mergeMetadata
- Information about the merge state change event.public MergeMetadata getMergeMetadata()
Information about the merge state change event.
public PullRequestMergedStateChangedEventMetadata withMergeMetadata(MergeMetadata mergeMetadata)
Information about the merge state change event.
mergeMetadata
- Information about the merge state change event.public String toString()
toString
in class Object
Object.toString()
public PullRequestMergedStateChangedEventMetadata 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.