@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictResolution extends Object implements Serializable, Cloneable, StructuredPojo
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.
Constructor and Description |
---|
ConflictResolution() |
Modifier and Type | Method and Description |
---|---|
ConflictResolution |
clone() |
boolean |
equals(Object obj) |
List<DeleteFileEntry> |
getDeleteFiles()
Files that will be deleted as part of the merge conflict resolution.
|
List<ReplaceContentEntry> |
getReplaceContents()
Files that will have content replaced as part of the merge conflict resolution.
|
List<SetFileModeEntry> |
getSetFileModes()
File modes that will be 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 that will be deleted as part of the merge conflict resolution.
|
void |
setReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files that will have content replaced as part of the merge conflict resolution.
|
void |
setSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that will be set as part of the merge conflict resolution.
|
String |
toString()
Returns a string representation of this object.
|
ConflictResolution |
withDeleteFiles(Collection<DeleteFileEntry> deleteFiles)
Files that will be deleted as part of the merge conflict resolution.
|
ConflictResolution |
withDeleteFiles(DeleteFileEntry... deleteFiles)
Files that will be deleted as part of the merge conflict resolution.
|
ConflictResolution |
withReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files that will have content replaced as part of the merge conflict resolution.
|
ConflictResolution |
withReplaceContents(ReplaceContentEntry... replaceContents)
Files that will have content replaced as part of the merge conflict resolution.
|
ConflictResolution |
withSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that will be set as part of the merge conflict resolution.
|
ConflictResolution |
withSetFileModes(SetFileModeEntry... setFileModes)
File modes that will be set as part of the merge conflict resolution.
|
public List<ReplaceContentEntry> getReplaceContents()
Files that will have content replaced as part of the merge conflict resolution.
public void setReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files that will have content replaced as part of the merge conflict resolution.
replaceContents
- Files that will have content replaced as part of the merge conflict resolution.public ConflictResolution withReplaceContents(ReplaceContentEntry... replaceContents)
Files that will 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 that will have content replaced as part of the merge conflict resolution.public ConflictResolution withReplaceContents(Collection<ReplaceContentEntry> replaceContents)
Files that will have content replaced as part of the merge conflict resolution.
replaceContents
- Files that will have content replaced as part of the merge conflict resolution.public List<DeleteFileEntry> getDeleteFiles()
Files that will be deleted as part of the merge conflict resolution.
public void setDeleteFiles(Collection<DeleteFileEntry> deleteFiles)
Files that will be deleted as part of the merge conflict resolution.
deleteFiles
- Files that will be deleted as part of the merge conflict resolution.public ConflictResolution withDeleteFiles(DeleteFileEntry... deleteFiles)
Files that will 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 that will be deleted as part of the merge conflict resolution.public ConflictResolution withDeleteFiles(Collection<DeleteFileEntry> deleteFiles)
Files that will be deleted as part of the merge conflict resolution.
deleteFiles
- Files that will be deleted as part of the merge conflict resolution.public List<SetFileModeEntry> getSetFileModes()
File modes that will be set as part of the merge conflict resolution.
public void setSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that will be set as part of the merge conflict resolution.
setFileModes
- File modes that will be set as part of the merge conflict resolution.public ConflictResolution withSetFileModes(SetFileModeEntry... setFileModes)
File modes that will be 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 will be set as part of the merge conflict resolution.public ConflictResolution withSetFileModes(Collection<SetFileModeEntry> setFileModes)
File modes that will be set as part of the merge conflict resolution.
setFileModes
- File modes that will be set as part of the merge conflict resolution.public String toString()
toString
in class Object
Object.toString()
public ConflictResolution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.