@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MergeHunkDetail extends Object implements Serializable, Cloneable, StructuredPojo
Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.
| Constructor and Description |
|---|
MergeHunkDetail() |
| Modifier and Type | Method and Description |
|---|---|
MergeHunkDetail |
clone() |
boolean |
equals(Object obj) |
Integer |
getEndLine()
The line number where a merge conflict ends.
|
String |
getHunkContent()
The base-64 encoded content of the hunk that contains the conflict.
|
Integer |
getStartLine()
The line number where a merge conflict begins.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndLine(Integer endLine)
The line number where a merge conflict ends.
|
void |
setHunkContent(String hunkContent)
The base-64 encoded content of the hunk that contains the conflict.
|
void |
setStartLine(Integer startLine)
The line number where a merge conflict begins.
|
String |
toString()
Returns a string representation of this object.
|
MergeHunkDetail |
withEndLine(Integer endLine)
The line number where a merge conflict ends.
|
MergeHunkDetail |
withHunkContent(String hunkContent)
The base-64 encoded content of the hunk that contains the conflict.
|
MergeHunkDetail |
withStartLine(Integer startLine)
The line number where a merge conflict begins.
|
public void setStartLine(Integer startLine)
The line number where a merge conflict begins.
startLine - The line number where a merge conflict begins.public Integer getStartLine()
The line number where a merge conflict begins.
public MergeHunkDetail withStartLine(Integer startLine)
The line number where a merge conflict begins.
startLine - The line number where a merge conflict begins.public void setEndLine(Integer endLine)
The line number where a merge conflict ends.
endLine - The line number where a merge conflict ends.public Integer getEndLine()
The line number where a merge conflict ends.
public MergeHunkDetail withEndLine(Integer endLine)
The line number where a merge conflict ends.
endLine - The line number where a merge conflict ends.public void setHunkContent(String hunkContent)
The base-64 encoded content of the hunk that contains the conflict.
hunkContent - The base-64 encoded content of the hunk that contains the conflict.public String getHunkContent()
The base-64 encoded content of the hunk that contains the conflict.
public MergeHunkDetail withHunkContent(String hunkContent)
The base-64 encoded content of the hunk that contains the conflict.
hunkContent - The base-64 encoded content of the hunk that contains the conflict.public String toString()
toString in class ObjectObject.toString()public MergeHunkDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.