@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MergeMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.
Constructor and Description |
---|
MergeMetadata() |
Modifier and Type | Method and Description |
---|---|
MergeMetadata |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsMerged()
A Boolean value indicating whether the merge has been made.
|
String |
getMergedBy()
The Amazon Resource Name (ARN) of the user who merged the branches.
|
int |
hashCode() |
Boolean |
isMerged()
A Boolean value indicating whether the merge has been made.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsMerged(Boolean isMerged)
A Boolean value indicating whether the merge has been made.
|
void |
setMergedBy(String mergedBy)
The Amazon Resource Name (ARN) of the user who merged the branches.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MergeMetadata |
withIsMerged(Boolean isMerged)
A Boolean value indicating whether the merge has been made.
|
MergeMetadata |
withMergedBy(String mergedBy)
The Amazon Resource Name (ARN) of the user who merged the branches.
|
public void setIsMerged(Boolean isMerged)
A Boolean value indicating whether the merge has been made.
isMerged
- A Boolean value indicating whether the merge has been made.public Boolean getIsMerged()
A Boolean value indicating whether the merge has been made.
public MergeMetadata withIsMerged(Boolean isMerged)
A Boolean value indicating whether the merge has been made.
isMerged
- A Boolean value indicating whether the merge has been made.public Boolean isMerged()
A Boolean value indicating whether the merge has been made.
public void setMergedBy(String mergedBy)
The Amazon Resource Name (ARN) of the user who merged the branches.
mergedBy
- The Amazon Resource Name (ARN) of the user who merged the branches.public String getMergedBy()
The Amazon Resource Name (ARN) of the user who merged the branches.
public MergeMetadata withMergedBy(String mergedBy)
The Amazon Resource Name (ARN) of the user who merged the branches.
mergedBy
- The Amazon Resource Name (ARN) of the user who merged the branches.public String toString()
toString
in class Object
Object.toString()
public MergeMetadata 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.