@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 |
getMergeCommitId()
The commit ID for the merge commit, if any.
|
String |
getMergedBy()
The Amazon Resource Name (ARN) of the user who merged the branches.
|
String |
getMergeOption()
The merge strategy used in the merge.
|
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 |
setMergeCommitId(String mergeCommitId)
The commit ID for the merge commit, if any.
|
void |
setMergedBy(String mergedBy)
The Amazon Resource Name (ARN) of the user who merged the branches.
|
void |
setMergeOption(String mergeOption)
The merge strategy used in the merge.
|
String |
toString()
Returns a string representation of this object.
|
MergeMetadata |
withIsMerged(Boolean isMerged)
A Boolean value indicating whether the merge has been made.
|
MergeMetadata |
withMergeCommitId(String mergeCommitId)
The commit ID for the merge commit, if any.
|
MergeMetadata |
withMergedBy(String mergedBy)
The Amazon Resource Name (ARN) of the user who merged the branches.
|
MergeMetadata |
withMergeOption(MergeOptionTypeEnum mergeOption)
The merge strategy used in the merge.
|
MergeMetadata |
withMergeOption(String mergeOption)
The merge strategy used in the merge.
|
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 void setMergeCommitId(String mergeCommitId)
The commit ID for the merge commit, if any.
mergeCommitId - The commit ID for the merge commit, if any.public String getMergeCommitId()
The commit ID for the merge commit, if any.
public MergeMetadata withMergeCommitId(String mergeCommitId)
The commit ID for the merge commit, if any.
mergeCommitId - The commit ID for the merge commit, if any.public void setMergeOption(String mergeOption)
The merge strategy used in the merge.
mergeOption - The merge strategy used in the merge.MergeOptionTypeEnumpublic String getMergeOption()
The merge strategy used in the merge.
MergeOptionTypeEnumpublic MergeMetadata withMergeOption(String mergeOption)
The merge strategy used in the merge.
mergeOption - The merge strategy used in the merge.MergeOptionTypeEnumpublic MergeMetadata withMergeOption(MergeOptionTypeEnum mergeOption)
The merge strategy used in the merge.
mergeOption - The merge strategy used in the merge.MergeOptionTypeEnumpublic String toString()
toString in class ObjectObject.toString()public MergeMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.