public static interface CreateUnreferencedMergeCommitRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<CreateUnreferencedMergeCommitRequest.Builder,CreateUnreferencedMergeCommitRequest>
Modifier and Type | Method and Description |
---|---|
CreateUnreferencedMergeCommitRequest.Builder |
authorName(String authorName)
The name of the author who created the unreferenced commit.
|
CreateUnreferencedMergeCommitRequest.Builder |
commitMessage(String commitMessage)
The commit message for the unreferenced commit.
|
CreateUnreferencedMergeCommitRequest.Builder |
conflictDetailLevel(ConflictDetailLevelTypeEnum conflictDetailLevel)
The level of conflict detail to use.
|
CreateUnreferencedMergeCommitRequest.Builder |
conflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use.
|
CreateUnreferencedMergeCommitRequest.Builder |
conflictResolution(ConflictResolution conflictResolution)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a
merge.
|
default CreateUnreferencedMergeCommitRequest.Builder |
conflictResolution(Consumer<ConflictResolution.Builder> conflictResolution)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a
merge.
|
CreateUnreferencedMergeCommitRequest.Builder |
conflictResolutionStrategy(ConflictResolutionStrategyTypeEnum conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two
versions of a file.
|
CreateUnreferencedMergeCommitRequest.Builder |
conflictResolutionStrategy(String conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two
versions of a file.
|
CreateUnreferencedMergeCommitRequest.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).
|
CreateUnreferencedMergeCommitRequest.Builder |
email(String email)
The email address for the person who created the unreferenced commit.
|
CreateUnreferencedMergeCommitRequest.Builder |
keepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the
folders empty.
|
CreateUnreferencedMergeCommitRequest.Builder |
mergeOption(MergeOptionTypeEnum mergeOption)
The merge option or strategy you want to use to merge the code.
|
CreateUnreferencedMergeCommitRequest.Builder |
mergeOption(String mergeOption)
The merge option or strategy you want to use to merge the code.
|
CreateUnreferencedMergeCommitRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateUnreferencedMergeCommitRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateUnreferencedMergeCommitRequest.Builder |
repositoryName(String repositoryName)
The name of the repository where you want to create the unreferenced merge commit.
|
CreateUnreferencedMergeCommitRequest.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).
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateUnreferencedMergeCommitRequest.Builder repositoryName(String repositoryName)
The name of the repository where you want to create the unreferenced merge commit.
repositoryName
- The name of the repository where you want to create the unreferenced merge commit.CreateUnreferencedMergeCommitRequest.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).CreateUnreferencedMergeCommitRequest.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).CreateUnreferencedMergeCommitRequest.Builder mergeOption(String mergeOption)
The merge option or strategy you want to use to merge the code.
mergeOption
- The merge option or strategy you want to use to merge the code.MergeOptionTypeEnum
,
MergeOptionTypeEnum
CreateUnreferencedMergeCommitRequest.Builder mergeOption(MergeOptionTypeEnum mergeOption)
The merge option or strategy you want to use to merge the code.
mergeOption
- The merge option or strategy you want to use to merge the code.MergeOptionTypeEnum
,
MergeOptionTypeEnum
CreateUnreferencedMergeCommitRequest.Builder conflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is 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 returns a
not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a
conflict is considered not mergeable if the same file in both branches has differences on the same
line.ConflictDetailLevelTypeEnum
,
ConflictDetailLevelTypeEnum
CreateUnreferencedMergeCommitRequest.Builder conflictDetailLevel(ConflictDetailLevelTypeEnum conflictDetailLevel)
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is 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 returns a
not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a
conflict is considered not mergeable if the same file in both branches has differences on the same
line.ConflictDetailLevelTypeEnum
,
ConflictDetailLevelTypeEnum
CreateUnreferencedMergeCommitRequest.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 is 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 is successful.ConflictResolutionStrategyTypeEnum
,
ConflictResolutionStrategyTypeEnum
CreateUnreferencedMergeCommitRequest.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 is 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 is successful.ConflictResolutionStrategyTypeEnum
,
ConflictResolutionStrategyTypeEnum
CreateUnreferencedMergeCommitRequest.Builder authorName(String authorName)
The name of the author who created the unreferenced commit. This information is used as both the author and committer for the commit.
authorName
- The name of the author who created the unreferenced commit. This information is used as both the
author and committer for the commit.CreateUnreferencedMergeCommitRequest.Builder email(String email)
The email address for the person who created the unreferenced commit.
email
- The email address for the person who created the unreferenced commit.CreateUnreferencedMergeCommitRequest.Builder commitMessage(String commitMessage)
The commit message for the unreferenced commit.
commitMessage
- The commit message for the unreferenced commit.CreateUnreferencedMergeCommitRequest.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 is 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 is created for empty folders. The
default is false.CreateUnreferencedMergeCommitRequest.Builder conflictResolution(ConflictResolution conflictResolution)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
conflictResolution
- If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts
during a merge.default CreateUnreferencedMergeCommitRequest.Builder conflictResolution(Consumer<ConflictResolution.Builder> conflictResolution)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
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.Builder
conflictResolution(ConflictResolution)
CreateUnreferencedMergeCommitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateUnreferencedMergeCommitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.