@Generated(value="software.amazon.awssdk:codegen") public final class MergeHunk extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MergeHunk.Builder,MergeHunk>
Information about merge hunks in a merge or pull request operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MergeHunk.Builder |
| Modifier and Type | Method and Description |
|---|---|
MergeHunkDetail |
base()
Information about the merge hunk in the base of a merge or pull request.
|
static MergeHunk.Builder |
builder() |
MergeHunkDetail |
destination()
Information about the merge hunk in the destination of a merge or pull request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isConflict()
A Boolean value indicating whether a combination of hunks contains a conflict.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MergeHunk.Builder> |
serializableBuilderClass() |
MergeHunkDetail |
source()
Information about the merge hunk in the source of a merge or pull request.
|
MergeHunk.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final MergeHunkDetail source()
Information about the merge hunk in the source of a merge or pull request.
public final MergeHunkDetail destination()
Information about the merge hunk in the destination of a merge or pull request.
public final MergeHunkDetail base()
Information about the merge hunk in the base of a merge or pull request.
public MergeHunk.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MergeHunk.Builder,MergeHunk>public static MergeHunk.Builder builder()
public static Class<? extends MergeHunk.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.