public static interface CreateCommitRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<CreateCommitRequest.Builder,CreateCommitRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateCommitRequest.Builder |
authorName(String authorName)
The name of the author who created the commit.
|
CreateCommitRequest.Builder |
branchName(String branchName)
The name of the branch where you create the commit.
|
CreateCommitRequest.Builder |
commitMessage(String commitMessage)
The commit message you want to include in the commit.
|
CreateCommitRequest.Builder |
deleteFiles(Collection<DeleteFileEntry> deleteFiles)
The files to delete in this commit.
|
CreateCommitRequest.Builder |
deleteFiles(Consumer<DeleteFileEntry.Builder>... deleteFiles)
The files to delete in this commit.
|
CreateCommitRequest.Builder |
deleteFiles(DeleteFileEntry... deleteFiles)
The files to delete in this commit.
|
CreateCommitRequest.Builder |
email(String email)
The email address of the person who created the commit.
|
CreateCommitRequest.Builder |
keepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the
folders empty.
|
CreateCommitRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCommitRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateCommitRequest.Builder |
parentCommitId(String parentCommitId)
The ID of the commit that is the parent of the commit you create.
|
CreateCommitRequest.Builder |
putFiles(Collection<PutFileEntry> putFiles)
The files to add or update in this commit.
|
CreateCommitRequest.Builder |
putFiles(Consumer<PutFileEntry.Builder>... putFiles)
The files to add or update in this commit.
|
CreateCommitRequest.Builder |
putFiles(PutFileEntry... putFiles)
The files to add or update in this commit.
|
CreateCommitRequest.Builder |
repositoryName(String repositoryName)
The name of the repository where you create the commit.
|
CreateCommitRequest.Builder |
setFileModes(Collection<SetFileModeEntry> setFileModes)
The file modes to update for files in this commit.
|
CreateCommitRequest.Builder |
setFileModes(Consumer<SetFileModeEntry.Builder>... setFileModes)
The file modes to update for files in this commit.
|
CreateCommitRequest.Builder |
setFileModes(SetFileModeEntry... setFileModes)
The file modes to update for files in this commit.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCommitRequest.Builder repositoryName(String repositoryName)
The name of the repository where you create the commit.
repositoryName - The name of the repository where you create the commit.CreateCommitRequest.Builder branchName(String branchName)
The name of the branch where you create the commit.
branchName - The name of the branch where you create the commit.CreateCommitRequest.Builder parentCommitId(String parentCommitId)
The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.
parentCommitId - The ID of the commit that is the parent of the commit you create. Not required if this is an empty
repository.CreateCommitRequest.Builder authorName(String authorName)
The name of the author who created the commit. This information is used as both the author and committer for the commit.
authorName - The name of the author who created the commit. This information is used as both the author and
committer for the commit.CreateCommitRequest.Builder email(String email)
The email address of the person who created the commit.
email - The email address of the person who created the commit.CreateCommitRequest.Builder commitMessage(String commitMessage)
The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used.
commitMessage - The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no
message is specified, a default message is used.CreateCommitRequest.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 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 true, a ..gitkeep file is created for empty folders. The default is false.CreateCommitRequest.Builder putFiles(Collection<PutFileEntry> putFiles)
The files to add or update in this commit.
putFiles - The files to add or update in this commit.CreateCommitRequest.Builder putFiles(PutFileEntry... putFiles)
The files to add or update in this commit.
putFiles - The files to add or update in this commit.CreateCommitRequest.Builder putFiles(Consumer<PutFileEntry.Builder>... putFiles)
The files to add or update in this commit.
This is a convenience method that creates an instance of thePutFileEntry.Builder avoiding the need to create one
manually via PutFileEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #putFiles(List.
putFiles - a consumer that will call methods on
PutFileEntry.Builder#putFiles(java.util.Collection) CreateCommitRequest.Builder deleteFiles(Collection<DeleteFileEntry> deleteFiles)
The files to delete in this commit. These files still exist in earlier commits.
deleteFiles - The files to delete in this commit. These files still exist in earlier commits.CreateCommitRequest.Builder deleteFiles(DeleteFileEntry... deleteFiles)
The files to delete in this commit. These files still exist in earlier commits.
deleteFiles - The files to delete in this commit. These files still exist in earlier commits.CreateCommitRequest.Builder deleteFiles(Consumer<DeleteFileEntry.Builder>... deleteFiles)
The files to delete in this commit. These files still exist in earlier commits.
This is a convenience method that creates an instance of theDeleteFileEntry.Builder avoiding the need to create
one manually via DeleteFileEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #deleteFiles(List.
deleteFiles - a consumer that will call methods on
DeleteFileEntry.Builder#deleteFiles(java.util.Collection) CreateCommitRequest.Builder setFileModes(Collection<SetFileModeEntry> setFileModes)
The file modes to update for files in this commit.
setFileModes - The file modes to update for files in this commit.CreateCommitRequest.Builder setFileModes(SetFileModeEntry... setFileModes)
The file modes to update for files in this commit.
setFileModes - The file modes to update for files in this commit.CreateCommitRequest.Builder setFileModes(Consumer<SetFileModeEntry.Builder>... setFileModes)
The file modes to update for files in this commit.
This is a convenience method that creates an instance of theSetFileModeEntry.Builder avoiding the need to create
one manually via SetFileModeEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #setFileModes(List.
setFileModes - a consumer that will call methods on
SetFileModeEntry.Builder#setFileModes(java.util.Collection) CreateCommitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCommitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.