Interface ConflictResolution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConflictResolution.Builder,,ConflictResolution> SdkBuilder<ConflictResolution.Builder,,ConflictResolution> SdkPojo
- Enclosing class:
ConflictResolution
-
Method Summary
Modifier and TypeMethodDescriptiondeleteFiles(Collection<DeleteFileEntry> deleteFiles) Files to be deleted as part of the merge conflict resolution.deleteFiles(Consumer<DeleteFileEntry.Builder>... deleteFiles) Files to be deleted as part of the merge conflict resolution.deleteFiles(DeleteFileEntry... deleteFiles) Files to be deleted as part of the merge conflict resolution.replaceContents(Collection<ReplaceContentEntry> replaceContents) Files to have content replaced as part of the merge conflict resolution.replaceContents(Consumer<ReplaceContentEntry.Builder>... replaceContents) Files to have content replaced as part of the merge conflict resolution.replaceContents(ReplaceContentEntry... replaceContents) Files to have content replaced as part of the merge conflict resolution.setFileModes(Collection<SetFileModeEntry> setFileModes) File modes that are set as part of the merge conflict resolution.setFileModes(Consumer<SetFileModeEntry.Builder>... setFileModes) File modes that are set as part of the merge conflict resolution.setFileModes(SetFileModeEntry... setFileModes) File modes that are set as part of the merge conflict resolution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
replaceContents
Files to have content replaced as part of the merge conflict resolution.
- Parameters:
replaceContents- Files to have content replaced as part of the merge conflict resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replaceContents
Files to have content replaced as part of the merge conflict resolution.
- Parameters:
replaceContents- Files to have content replaced as part of the merge conflict resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replaceContents
ConflictResolution.Builder replaceContents(Consumer<ReplaceContentEntry.Builder>... replaceContents) Files to have content replaced as part of the merge conflict resolution.
This is a convenience method that creates an instance of theReplaceContentEntry.Builderavoiding the need to create one manually viaReplaceContentEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplaceContents(List<ReplaceContentEntry>).- Parameters:
replaceContents- a consumer that will call methods onReplaceContentEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deleteFiles
Files to be deleted as part of the merge conflict resolution.
- Parameters:
deleteFiles- Files to be deleted as part of the merge conflict resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteFiles
Files to be deleted as part of the merge conflict resolution.
- Parameters:
deleteFiles- Files to be deleted as part of the merge conflict resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteFiles
Files to be deleted as part of the merge conflict resolution.
This is a convenience method that creates an instance of theDeleteFileEntry.Builderavoiding the need to create one manually viaDeleteFileEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeleteFiles(List<DeleteFileEntry>).- Parameters:
deleteFiles- a consumer that will call methods onDeleteFileEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setFileModes
File modes that are set as part of the merge conflict resolution.
- Parameters:
setFileModes- File modes that are set as part of the merge conflict resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFileModes
File modes that are set as part of the merge conflict resolution.
- Parameters:
setFileModes- File modes that are set as part of the merge conflict resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFileModes
File modes that are set as part of the merge conflict resolution.
This is a convenience method that creates an instance of theSetFileModeEntry.Builderavoiding the need to create one manually viaSetFileModeEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosetFileModes(List<SetFileModeEntry>).- Parameters:
setFileModes- a consumer that will call methods onSetFileModeEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-