| Package | Description |
|---|---|
| software.amazon.awssdk.services.codecommit |
|
| software.amazon.awssdk.services.codecommit.model |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<DeleteFileResponse> |
CodeCommitAsyncClient.deleteFile(Consumer<DeleteFileRequest.Builder> deleteFileRequest)
Deletes a specified file from a specified branch.
|
default DeleteFileResponse |
CodeCommitClient.deleteFile(Consumer<DeleteFileRequest.Builder> deleteFileRequest)
Deletes a specified file from a specified branch.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.branchName(String branchName)
The name of the branch where the commit that deletes the file is made.
|
static DeleteFileRequest.Builder |
DeleteFileRequest.builder() |
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.commitMessage(String commitMessage)
The commit message you want to include as part of deleting the file.
|
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.email(String email)
The email address for the commit that deletes the file.
|
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.filePath(String filePath)
The fully qualified path to the file that to be deleted, including the full name and extension of that file.
|
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.keepEmptyFolders(Boolean keepEmptyFolders)
If a file is the only object in the folder or directory, specifies whether to delete the folder or directory
that contains the file.
|
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.name(String name)
The name of the author of the commit that deletes the file.
|
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.parentCommitId(String parentCommitId)
The ID of the commit that is the tip of the branch where you want to create the commit that deletes the file.
|
DeleteFileRequest.Builder |
DeleteFileRequest.Builder.repositoryName(String repositoryName)
The name of the repository that contains the file to delete.
|
DeleteFileRequest.Builder |
DeleteFileRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends DeleteFileRequest.Builder> |
DeleteFileRequest.serializableBuilderClass() |
Copyright © 2021. All rights reserved.