@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MergeHunk extends Object implements Serializable, Cloneable, StructuredPojo
Information about merge hunks in a merge or pull request operation.
Constructor and Description |
---|
MergeHunk() |
Modifier and Type | Method and Description |
---|---|
MergeHunk |
clone() |
boolean |
equals(Object obj) |
MergeHunkDetail |
getBase()
Information about the merge hunk in the base of a merge or pull request.
|
MergeHunkDetail |
getDestination()
Information about the merge hunk in the destination of a merge or pull request.
|
Boolean |
getIsConflict()
A Boolean value indicating whether a combination of hunks contains a conflict.
|
MergeHunkDetail |
getSource()
Information about the merge hunk in the source of a merge or pull request.
|
int |
hashCode() |
Boolean |
isConflict()
A Boolean value indicating whether a combination of hunks contains a conflict.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBase(MergeHunkDetail base)
Information about the merge hunk in the base of a merge or pull request.
|
void |
setDestination(MergeHunkDetail destination)
Information about the merge hunk in the destination of a merge or pull request.
|
void |
setIsConflict(Boolean isConflict)
A Boolean value indicating whether a combination of hunks contains a conflict.
|
void |
setSource(MergeHunkDetail source)
Information about the merge hunk in the source of a merge or pull request.
|
String |
toString()
Returns a string representation of this object.
|
MergeHunk |
withBase(MergeHunkDetail base)
Information about the merge hunk in the base of a merge or pull request.
|
MergeHunk |
withDestination(MergeHunkDetail destination)
Information about the merge hunk in the destination of a merge or pull request.
|
MergeHunk |
withIsConflict(Boolean isConflict)
A Boolean value indicating whether a combination of hunks contains a conflict.
|
MergeHunk |
withSource(MergeHunkDetail source)
Information about the merge hunk in the source of a merge or pull request.
|
public void setIsConflict(Boolean isConflict)
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
isConflict
- A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the
same file or the same lines in a file were modified in both the source and destination of a merge or pull
request. Valid values include true, false, and null. True when the hunk represents a conflict and one or
more files contains a line conflict. File mode conflicts in a merge do not set this to true.public Boolean getIsConflict()
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
public MergeHunk withIsConflict(Boolean isConflict)
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
isConflict
- A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the
same file or the same lines in a file were modified in both the source and destination of a merge or pull
request. Valid values include true, false, and null. True when the hunk represents a conflict and one or
more files contains a line conflict. File mode conflicts in a merge do not set this to true.public Boolean isConflict()
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
public void setSource(MergeHunkDetail source)
Information about the merge hunk in the source of a merge or pull request.
source
- Information about the merge hunk in the source of a merge or pull request.public MergeHunkDetail getSource()
Information about the merge hunk in the source of a merge or pull request.
public MergeHunk withSource(MergeHunkDetail source)
Information about the merge hunk in the source of a merge or pull request.
source
- Information about the merge hunk in the source of a merge or pull request.public void setDestination(MergeHunkDetail destination)
Information about the merge hunk in the destination of a merge or pull request.
destination
- Information about the merge hunk in the destination of a merge or pull request.public MergeHunkDetail getDestination()
Information about the merge hunk in the destination of a merge or pull request.
public MergeHunk withDestination(MergeHunkDetail destination)
Information about the merge hunk in the destination of a merge or pull request.
destination
- Information about the merge hunk in the destination of a merge or pull request.public void setBase(MergeHunkDetail base)
Information about the merge hunk in the base of a merge or pull request.
base
- Information about the merge hunk in the base of a merge or pull request.public MergeHunkDetail getBase()
Information about the merge hunk in the base of a merge or pull request.
public MergeHunk withBase(MergeHunkDetail base)
Information about the merge hunk in the base of a merge or pull request.
base
- Information about the merge hunk in the base of a merge or pull request.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.