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 will create the commit.
|
CreateCommitRequest.Builder |
commitMessage(String commitMessage)
The commit message you want to include as part of creating 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 will 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 will 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 will create the commit.
repositoryName - The name of the repository where you will create the commit.CreateCommitRequest.Builder branchName(String branchName)
The name of the branch where you will create the commit.
branchName - The name of the branch where you will create the commit.CreateCommitRequest.Builder parentCommitId(String parentCommitId)
The ID of the commit that is the parent of the commit you will create. If this is an empty repository, this is not required.
parentCommitId - The ID of the commit that is the parent of the commit you will create. If this is an empty repository,
this is not required.CreateCommitRequest.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.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 as part of creating the commit. Commit messages are limited to 256 KB. If no message is specified, a default message will be used.
commitMessage - The commit message you want to include as part of creating the commit. Commit messages are limited to
256 KB. If no message is specified, a default message will be 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 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.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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #putFiles(List) .putFiles - a consumer that will call methods on List.Builder #putFiles(List) CreateCommitRequest.Builder deleteFiles(Collection<DeleteFileEntry> deleteFiles)
The files to delete in this commit. These files will still exist in prior commits.
deleteFiles - The files to delete in this commit. These files will still exist in prior commits.CreateCommitRequest.Builder deleteFiles(DeleteFileEntry... deleteFiles)
The files to delete in this commit. These files will still exist in prior commits.
deleteFiles - The files to delete in this commit. These files will still exist in prior commits.CreateCommitRequest.Builder deleteFiles(Consumer<DeleteFileEntry.Builder>... deleteFiles)
The files to delete in this commit. These files will still exist in prior commits.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #deleteFiles(List) .deleteFiles - a consumer that will call methods on List.Builder #deleteFiles(List) 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 that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #setFileModes(List) .setFileModes - a consumer that will call methods on List.Builder #setFileModes(List) CreateCommitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCommitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.