@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()
For responses, this returns true if the service returned a value for the DeleteFiles property.
|
int |
hashCode() |
boolean |
hasReplaceContents()
For responses, this returns true if the service returned a value for the ReplaceContents property.
|
boolean |
hasSetFileModes()
For responses, this returns true if the service returned a value for the SetFileModes property.
|
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 final boolean hasReplaceContents()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasReplaceContents() method.
public final boolean hasDeleteFiles()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDeleteFiles() method.
public final boolean hasSetFileModes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSetFileModes() method.
public ConflictResolution.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConflictResolution.Builder,ConflictResolution>public static ConflictResolution.Builder builder()
public static Class<? extends ConflictResolution.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.