@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictResolution extends Object implements Serializable, Cloneable, StructuredPojo
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
| Constructor and Description |
|---|
ConflictResolution() |
| Modifier and Type | Method and Description |
|---|---|
ConflictResolution |
clone() |
boolean |
equals(Object obj) |
List<DeleteFileEntry> |
getDeleteFiles()
Files to be deleted as part of the merge conflict resolution.
|
List<ReplaceContentEntry> |
getReplaceContents()
Files to have content replaced as part of the merge conflict resolution.
|
List<SetFileModeEntry> |
getSetFileModes()
File modes that are set as part of the merge conflict resolution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDeleteFiles(Collection<DeleteFileEntry> deleteFiles)
Files to be deleted as part of the merge conflict resolution.
|
void |
setReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files to have content replaced as part of the merge conflict resolution.
|
void |
setSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that are set as part of the merge conflict resolution.
|
String |
toString()
Returns a string representation of this object.
|
ConflictResolution |
withDeleteFiles(Collection<DeleteFileEntry> deleteFiles)
Files to be deleted as part of the merge conflict resolution.
|
ConflictResolution |
withDeleteFiles(DeleteFileEntry... deleteFiles)
Files to be deleted as part of the merge conflict resolution.
|
ConflictResolution |
withReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files to have content replaced as part of the merge conflict resolution.
|
ConflictResolution |
withReplaceContents(ReplaceContentEntry... replaceContents)
Files to have content replaced as part of the merge conflict resolution.
|
ConflictResolution |
withSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that are set as part of the merge conflict resolution.
|
ConflictResolution |
withSetFileModes(SetFileModeEntry... setFileModes)
File modes that are set as part of the merge conflict resolution.
|
public List<ReplaceContentEntry> getReplaceContents()
Files to have content replaced as part of the merge conflict resolution.
public void setReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files to have content replaced as part of the merge conflict resolution.
replaceContents - Files to have content replaced as part of the merge conflict resolution.public ConflictResolution withReplaceContents(ReplaceContentEntry... replaceContents)
Files to have content replaced as part of the merge conflict resolution.
NOTE: This method appends the values to the existing list (if any). Use
setReplaceContents(java.util.Collection) or withReplaceContents(java.util.Collection) if you
want to override the existing values.
replaceContents - Files to have content replaced as part of the merge conflict resolution.public ConflictResolution withReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files to have content replaced as part of the merge conflict resolution.
replaceContents - Files to have content replaced as part of the merge conflict resolution.public List<DeleteFileEntry> getDeleteFiles()
Files to be deleted as part of the merge conflict resolution.
public void setDeleteFiles(Collection<DeleteFileEntry> deleteFiles)
Files to be deleted as part of the merge conflict resolution.
deleteFiles - Files to be deleted as part of the merge conflict resolution.public ConflictResolution withDeleteFiles(DeleteFileEntry... deleteFiles)
Files to be deleted as part of the merge conflict resolution.
NOTE: This method appends the values to the existing list (if any). Use
setDeleteFiles(java.util.Collection) or withDeleteFiles(java.util.Collection) if you want to
override the existing values.
deleteFiles - Files to be deleted as part of the merge conflict resolution.public ConflictResolution withDeleteFiles(Collection<DeleteFileEntry> deleteFiles)
Files to be deleted as part of the merge conflict resolution.
deleteFiles - Files to be deleted as part of the merge conflict resolution.public List<SetFileModeEntry> getSetFileModes()
File modes that are set as part of the merge conflict resolution.
public void setSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that are set as part of the merge conflict resolution.
setFileModes - File modes that are set as part of the merge conflict resolution.public ConflictResolution withSetFileModes(SetFileModeEntry... setFileModes)
File modes that are set as part of the merge conflict resolution.
NOTE: This method appends the values to the existing list (if any). Use
setSetFileModes(java.util.Collection) or withSetFileModes(java.util.Collection) if you want to
override the existing values.
setFileModes - File modes that are set as part of the merge conflict resolution.public ConflictResolution withSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that are set as part of the merge conflict resolution.
setFileModes - File modes that are set as part of the merge conflict resolution.public String toString()
toString in class ObjectObject.toString()public ConflictResolution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.