@Generated(value="software.amazon.awssdk:codegen") public final class ConflictResolution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConflictResolution.Builder,ConflictResolution>
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConflictResolution.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConflictResolution.Builder |
builder() |
List<DeleteFileEntry> |
deleteFiles()
Files to be deleted as part of the merge conflict resolution.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDeleteFiles()
Returns true if the DeleteFiles property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasReplaceContents()
Returns true if the ReplaceContents property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSetFileModes()
Returns true if the SetFileModes 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<ReplaceContentEntry> |
replaceContents()
Files to have content replaced as part of the merge conflict resolution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConflictResolution.Builder> |
serializableBuilderClass() |
List<SetFileModeEntry> |
setFileModes()
File modes that are set as part of the merge conflict resolution.
|
ConflictResolution.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasReplaceContents()
public List<ReplaceContentEntry> replaceContents()
Files to have content replaced as part of the merge conflict resolution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReplaceContents() to see if a value was sent in this field.
public boolean hasDeleteFiles()
public List<DeleteFileEntry> deleteFiles()
Files to be deleted as part of the merge conflict resolution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDeleteFiles() to see if a value was sent in this field.
public boolean hasSetFileModes()
public List<SetFileModeEntry> setFileModes()
File modes that are set as part of the merge conflict resolution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSetFileModes() to see if a value was sent in this field.
public ConflictResolution.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConflictResolution.Builder,ConflictResolution>public static ConflictResolution.Builder builder()
public static Class<? extends ConflictResolution.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.