Interface ConflictMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConflictMetadata.Builder,ConflictMetadata>,SdkBuilder<ConflictMetadata.Builder,ConflictMetadata>,SdkPojo
- Enclosing class:
- ConflictMetadata
public static interface ConflictMetadata.Builder extends SdkPojo, CopyableBuilder<ConflictMetadata.Builder,ConflictMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConflictMetadata.BuildercontentConflict(Boolean contentConflict)A boolean value indicating whether there are conflicts in the content of a file.ConflictMetadata.BuilderfileModeConflict(Boolean fileModeConflict)A boolean value indicating whether there are conflicts in the file mode of a file.default ConflictMetadata.BuilderfileModes(Consumer<FileModes.Builder> fileModes)The file modes of the file in the source, destination, and base of the merge.ConflictMetadata.BuilderfileModes(FileModes fileModes)The file modes of the file in the source, destination, and base of the merge.ConflictMetadata.BuilderfilePath(String filePath)The path of the file that contains conflicts.default ConflictMetadata.BuilderfileSizes(Consumer<FileSizes.Builder> fileSizes)The file sizes of the file in the source, destination, and base of the merge.ConflictMetadata.BuilderfileSizes(FileSizes fileSizes)The file sizes of the file in the source, destination, and base of the merge.default ConflictMetadata.BuilderisBinaryFile(Consumer<IsBinaryFile.Builder> isBinaryFile)A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.ConflictMetadata.BuilderisBinaryFile(IsBinaryFile isBinaryFile)A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.default ConflictMetadata.BuildermergeOperations(Consumer<MergeOperations.Builder> mergeOperations)Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.ConflictMetadata.BuildermergeOperations(MergeOperations mergeOperations)Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.ConflictMetadata.BuildernumberOfConflicts(Integer numberOfConflicts)The number of conflicts, including both hunk conflicts and metadata conflicts.ConflictMetadata.BuilderobjectTypeConflict(Boolean objectTypeConflict)A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.default ConflictMetadata.BuilderobjectTypes(Consumer<ObjectTypes.Builder> objectTypes)Information about any object type conflicts in a merge operation.ConflictMetadata.BuilderobjectTypes(ObjectTypes objectTypes)Information about any object type conflicts in a merge operation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
filePath
ConflictMetadata.Builder filePath(String filePath)
The path of the file that contains conflicts.
- Parameters:
filePath- The path of the file that contains conflicts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSizes
ConflictMetadata.Builder fileSizes(FileSizes fileSizes)
The file sizes of the file in the source, destination, and base of the merge.
- Parameters:
fileSizes- The file sizes of the file in the source, destination, and base of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSizes
default ConflictMetadata.Builder fileSizes(Consumer<FileSizes.Builder> fileSizes)
The file sizes of the file in the source, destination, and base of the merge.
This is a convenience method that creates an instance of theFileSizes.Builderavoiding the need to create one manually viaFileSizes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileSizes(FileSizes).- Parameters:
fileSizes- a consumer that will call methods onFileSizes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fileSizes(FileSizes)
-
fileModes
ConflictMetadata.Builder fileModes(FileModes fileModes)
The file modes of the file in the source, destination, and base of the merge.
- Parameters:
fileModes- The file modes of the file in the source, destination, and base of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileModes
default ConflictMetadata.Builder fileModes(Consumer<FileModes.Builder> fileModes)
The file modes of the file in the source, destination, and base of the merge.
This is a convenience method that creates an instance of theFileModes.Builderavoiding the need to create one manually viaFileModes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileModes(FileModes).- Parameters:
fileModes- a consumer that will call methods onFileModes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fileModes(FileModes)
-
objectTypes
ConflictMetadata.Builder objectTypes(ObjectTypes objectTypes)
Information about any object type conflicts in a merge operation.
- Parameters:
objectTypes- Information about any object type conflicts in a merge operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectTypes
default ConflictMetadata.Builder objectTypes(Consumer<ObjectTypes.Builder> objectTypes)
Information about any object type conflicts in a merge operation.
This is a convenience method that creates an instance of theObjectTypes.Builderavoiding the need to create one manually viaObjectTypes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectTypes(ObjectTypes).- Parameters:
objectTypes- a consumer that will call methods onObjectTypes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
objectTypes(ObjectTypes)
-
numberOfConflicts
ConflictMetadata.Builder numberOfConflicts(Integer numberOfConflicts)
The number of conflicts, including both hunk conflicts and metadata conflicts.
- Parameters:
numberOfConflicts- The number of conflicts, including both hunk conflicts and metadata conflicts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isBinaryFile
ConflictMetadata.Builder isBinaryFile(IsBinaryFile isBinaryFile)
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
- Parameters:
isBinaryFile- A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isBinaryFile
default ConflictMetadata.Builder isBinaryFile(Consumer<IsBinaryFile.Builder> isBinaryFile)
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
This is a convenience method that creates an instance of theIsBinaryFile.Builderavoiding the need to create one manually viaIsBinaryFile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toisBinaryFile(IsBinaryFile).- Parameters:
isBinaryFile- a consumer that will call methods onIsBinaryFile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
isBinaryFile(IsBinaryFile)
-
contentConflict
ConflictMetadata.Builder contentConflict(Boolean contentConflict)
A boolean value indicating whether there are conflicts in the content of a file.
- Parameters:
contentConflict- A boolean value indicating whether there are conflicts in the content of a file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileModeConflict
ConflictMetadata.Builder fileModeConflict(Boolean fileModeConflict)
A boolean value indicating whether there are conflicts in the file mode of a file.
- Parameters:
fileModeConflict- A boolean value indicating whether there are conflicts in the file mode of a file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectTypeConflict
ConflictMetadata.Builder objectTypeConflict(Boolean objectTypeConflict)
A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
- Parameters:
objectTypeConflict- A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeOperations
ConflictMetadata.Builder mergeOperations(MergeOperations mergeOperations)
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
- Parameters:
mergeOperations- Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeOperations
default ConflictMetadata.Builder mergeOperations(Consumer<MergeOperations.Builder> mergeOperations)
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
This is a convenience method that creates an instance of theMergeOperations.Builderavoiding the need to create one manually viaMergeOperations.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomergeOperations(MergeOperations).- Parameters:
mergeOperations- a consumer that will call methods onMergeOperations.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mergeOperations(MergeOperations)
-
-