@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 end position of the hunk in the merge result.
|
String |
getHunkContent()
The base-64 encoded content of the hunk merged region that might contain a conflict.
|
Integer |
getStartLine()
The start position of the hunk in the merge result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndLine(Integer endLine)
The end position of the hunk in the merge result.
|
void |
setHunkContent(String hunkContent)
The base-64 encoded content of the hunk merged region that might contain a conflict.
|
void |
setStartLine(Integer startLine)
The start position of the hunk in the merge result.
|
String |
toString()
Returns a string representation of this object.
|
MergeHunkDetail |
withEndLine(Integer endLine)
The end position of the hunk in the merge result.
|
MergeHunkDetail |
withHunkContent(String hunkContent)
The base-64 encoded content of the hunk merged region that might contain a conflict.
|
MergeHunkDetail |
withStartLine(Integer startLine)
The start position of the hunk in the merge result.
|
public void setStartLine(Integer startLine)
The start position of the hunk in the merge result.
startLine
- The start position of the hunk in the merge result.public Integer getStartLine()
The start position of the hunk in the merge result.
public MergeHunkDetail withStartLine(Integer startLine)
The start position of the hunk in the merge result.
startLine
- The start position of the hunk in the merge result.public void setEndLine(Integer endLine)
The end position of the hunk in the merge result.
endLine
- The end position of the hunk in the merge result.public Integer getEndLine()
The end position of the hunk in the merge result.
public MergeHunkDetail withEndLine(Integer endLine)
The end position of the hunk in the merge result.
endLine
- The end position of the hunk in the merge result.public void setHunkContent(String hunkContent)
The base-64 encoded content of the hunk merged region that might contain a conflict.
hunkContent
- The base-64 encoded content of the hunk merged region that might contain a conflict.public String getHunkContent()
The base-64 encoded content of the hunk merged region that might contain a conflict.
public MergeHunkDetail withHunkContent(String hunkContent)
The base-64 encoded content of the hunk merged region that might contain a conflict.
hunkContent
- The base-64 encoded content of the hunk merged region that might contain a conflict.public String toString()
toString
in class Object
Object.toString()
public MergeHunkDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.