@Generated(value="software.amazon.awssdk:codegen") public final class Conflict extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Conflict.Builder,Conflict>
Information about conflicts in a merge operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Conflict.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Conflict.Builder |
builder() |
ConflictMetadata |
conflictMetadata()
Metadata about a conflict in a merge operation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMergeHunks()
Returns true if the MergeHunks property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<MergeHunk> |
mergeHunks()
A list of hunks that contain the differences between files or lines causing the conflict.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Conflict.Builder> |
serializableBuilderClass() |
Conflict.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ConflictMetadata conflictMetadata()
Metadata about a conflict in a merge operation.
public boolean hasMergeHunks()
public List<MergeHunk> mergeHunks()
A list of hunks that contain the differences between files or lines causing the conflict.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMergeHunks() to see if a value was sent in this field.
public Conflict.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Conflict.Builder,Conflict>public static Conflict.Builder builder()
public static Class<? extends Conflict.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.