public static interface PutFileRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<PutFileRequest.Builder,PutFileRequest>
| Modifier and Type | Method and Description |
|---|---|
PutFileRequest.Builder |
branchName(String branchName)
The name of the branch where you want to add or update the file.
|
PutFileRequest.Builder |
commitMessage(String commitMessage)
A message about why this file was added or updated.
|
PutFileRequest.Builder |
email(String email)
An email address for the person adding or updating the file.
|
PutFileRequest.Builder |
fileContent(SdkBytes fileContent)
The content of the file, in binary object format.
|
PutFileRequest.Builder |
fileMode(FileModeTypeEnum fileMode)
The file mode permissions of the blob.
|
PutFileRequest.Builder |
fileMode(String fileMode)
The file mode permissions of the blob.
|
PutFileRequest.Builder |
filePath(String filePath)
The name of the file you want to add or update, including the relative path to the file in the repository.
|
PutFileRequest.Builder |
name(String name)
The name of the person adding or updating the file.
|
PutFileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutFileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutFileRequest.Builder |
parentCommitId(String parentCommitId)
The full commit ID of the head commit in the branch where you want to add or update the file.
|
PutFileRequest.Builder |
repositoryName(String repositoryName)
The name of the repository where you want to add or update the file.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutFileRequest.Builder repositoryName(String repositoryName)
The name of the repository where you want to add or update the file.
repositoryName - The name of the repository where you want to add or update the file.PutFileRequest.Builder branchName(String branchName)
The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.
branchName - The name of the branch where you want to add or update the file. If this is an empty repository, this
branch is created.PutFileRequest.Builder fileContent(SdkBytes fileContent)
The content of the file, in binary object format.
fileContent - The content of the file, in binary object format.PutFileRequest.Builder filePath(String filePath)
The name of the file you want to add or update, including the relative path to the file in the repository.
If the path does not currently exist in the repository, the path is created as part of adding the file.
filePath - The name of the file you want to add or update, including the relative path to the file in the
repository. If the path does not currently exist in the repository, the path is created as part of adding the file.
PutFileRequest.Builder fileMode(String fileMode)
The file mode permissions of the blob. Valid file mode permissions are listed here.
fileMode - The file mode permissions of the blob. Valid file mode permissions are listed here.FileModeTypeEnum,
FileModeTypeEnumPutFileRequest.Builder fileMode(FileModeTypeEnum fileMode)
The file mode permissions of the blob. Valid file mode permissions are listed here.
fileMode - The file mode permissions of the blob. Valid file mode permissions are listed here.FileModeTypeEnum,
FileModeTypeEnumPutFileRequest.Builder parentCommitId(String parentCommitId)
The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.
The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.
parentCommitId - The full commit ID of the head commit in the branch where you want to add or update the file. If this
is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is
required.
The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.
PutFileRequest.Builder commitMessage(String commitMessage)
A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.
commitMessage - A message about why this file was added or updated. Although it is optional, a message makes the
commit history for your repository more useful.PutFileRequest.Builder name(String name)
The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.
name - The name of the person adding or updating the file. Although it is optional, a name makes the commit
history for your repository more useful.PutFileRequest.Builder email(String email)
An email address for the person adding or updating the file.
email - An email address for the person adding or updating the file.PutFileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutFileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.