public static interface MergeBranchesBySquashRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<MergeBranchesBySquashRequest.Builder,MergeBranchesBySquashRequest>
| Modifier and Type | Method and Description |
|---|---|
MergeBranchesBySquashRequest.Builder |
authorName(String authorName)
The name of the author who created the commit.
|
MergeBranchesBySquashRequest.Builder |
commitMessage(String commitMessage)
The commit message for the merge.
|
MergeBranchesBySquashRequest.Builder |
conflictDetailLevel(ConflictDetailLevelTypeEnum conflictDetailLevel)
The level of conflict detail to use.
|
MergeBranchesBySquashRequest.Builder |
conflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use.
|
MergeBranchesBySquashRequest.Builder |
conflictResolution(ConflictResolution conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict
resolution strategy.
|
default MergeBranchesBySquashRequest.Builder |
conflictResolution(Consumer<ConflictResolution.Builder> conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict
resolution strategy.
|
MergeBranchesBySquashRequest.Builder |
conflictResolutionStrategy(ConflictResolutionStrategyTypeEnum conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two
versions of a file.
|
MergeBranchesBySquashRequest.Builder |
conflictResolutionStrategy(String conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two
versions of a file.
|
MergeBranchesBySquashRequest.Builder |
destinationCommitSpecifier(String destinationCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
MergeBranchesBySquashRequest.Builder |
email(String email)
The email address of the person merging the branches.
|
MergeBranchesBySquashRequest.Builder |
keepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the
folders empty.
|
MergeBranchesBySquashRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
MergeBranchesBySquashRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
MergeBranchesBySquashRequest.Builder |
repositoryName(String repositoryName)
The name of the repository where you want to merge two branches.
|
MergeBranchesBySquashRequest.Builder |
sourceCommitSpecifier(String sourceCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
MergeBranchesBySquashRequest.Builder |
targetBranch(String targetBranch)
The branch where the merge will be applied.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildMergeBranchesBySquashRequest.Builder repositoryName(String repositoryName)
The name of the repository where you want to merge two branches.
repositoryName - The name of the repository where you want to merge two branches.MergeBranchesBySquashRequest.Builder sourceCommitSpecifier(String sourceCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.
sourceCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a
branch name or a full commit ID.MergeBranchesBySquashRequest.Builder destinationCommitSpecifier(String destinationCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.
destinationCommitSpecifier - The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a
branch name or a full commit ID.MergeBranchesBySquashRequest.Builder targetBranch(String targetBranch)
The branch where the merge will be applied.
targetBranch - The branch where the merge will be applied.MergeBranchesBySquashRequest.Builder conflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.
conflictDetailLevel - The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return
a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified,
a conflict will be considered not mergeable if the same file in both branches has differences on the
same line.ConflictDetailLevelTypeEnum,
ConflictDetailLevelTypeEnumMergeBranchesBySquashRequest.Builder conflictDetailLevel(ConflictDetailLevelTypeEnum conflictDetailLevel)
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be considered not mergeable if the same file in both branches has differences on the same line.
conflictDetailLevel - The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return
a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified,
a conflict will be considered not mergeable if the same file in both branches has differences on the
same line.ConflictDetailLevelTypeEnum,
ConflictDetailLevelTypeEnumMergeBranchesBySquashRequest.Builder conflictResolutionStrategy(String conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation will be successful.
conflictResolutionStrategy - Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging
two versions of a file. The default is NONE, which requires any conflicts to be resolved manually
before the merge operation will be successful.ConflictResolutionStrategyTypeEnum,
ConflictResolutionStrategyTypeEnumMergeBranchesBySquashRequest.Builder conflictResolutionStrategy(ConflictResolutionStrategyTypeEnum conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation will be successful.
conflictResolutionStrategy - Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging
two versions of a file. The default is NONE, which requires any conflicts to be resolved manually
before the merge operation will be successful.ConflictResolutionStrategyTypeEnum,
ConflictResolutionStrategyTypeEnumMergeBranchesBySquashRequest.Builder authorName(String authorName)
The name of the author who created the commit. This information will be used as both the author and committer for the commit.
authorName - The name of the author who created the commit. This information will be used as both the author and
committer for the commit.MergeBranchesBySquashRequest.Builder email(String email)
The email address of the person merging the branches. This information will be used in the commit information for the merge.
email - The email address of the person merging the branches. This information will be used in the commit
information for the merge.MergeBranchesBySquashRequest.Builder commitMessage(String commitMessage)
The commit message for the merge.
commitMessage - The commit message for the merge.MergeBranchesBySquashRequest.Builder keepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file will be created for empty folders. The default is false.
keepEmptyFolders - If the commit contains deletions, whether to keep a folder or folder structure if the changes leave
the folders empty. If this is specified as true, a .gitkeep file will be created for empty folders.
The default is false.MergeBranchesBySquashRequest.Builder conflictResolution(ConflictResolution conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.
conflictResolution - A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict
resolution strategy.default MergeBranchesBySquashRequest.Builder conflictResolution(Consumer<ConflictResolution.Builder> conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.
This is a convenience that creates an instance of theConflictResolution.Builder avoiding the need to
create one manually via ConflictResolution.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to conflictResolution(ConflictResolution).conflictResolution - a consumer that will call methods on ConflictResolution.BuilderconflictResolution(ConflictResolution)MergeBranchesBySquashRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderMergeBranchesBySquashRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.