public static interface PutFileEntry.Builder extends SdkPojo, CopyableBuilder<PutFileEntry.Builder,PutFileEntry>
| Modifier and Type | Method and Description |
|---|---|
PutFileEntry.Builder |
fileContent(SdkBytes fileContent)
The content of the file, if a source file is not specified.
|
PutFileEntry.Builder |
fileMode(FileModeTypeEnum fileMode)
The extrapolated file mode permissions for the file.
|
PutFileEntry.Builder |
fileMode(String fileMode)
The extrapolated file mode permissions for the file.
|
PutFileEntry.Builder |
filePath(String filePath)
The full path to the file in the repository, including the name of the file.
|
default PutFileEntry.Builder |
sourceFile(Consumer<SourceFileSpecifier.Builder> sourceFile)
The name and full path of the file that contains the changes you want to make as part of the commit, if you
are not providing the file content directly.
|
PutFileEntry.Builder |
sourceFile(SourceFileSpecifier sourceFile)
The name and full path of the file that contains the changes you want to make as part of the commit, if you
are not providing the file content directly.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPutFileEntry.Builder filePath(String filePath)
The full path to the file in the repository, including the name of the file.
filePath - The full path to the file in the repository, including the name of the file.PutFileEntry.Builder fileMode(String fileMode)
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
fileMode - The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.FileModeTypeEnum,
FileModeTypeEnumPutFileEntry.Builder fileMode(FileModeTypeEnum fileMode)
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
fileMode - The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.FileModeTypeEnum,
FileModeTypeEnumPutFileEntry.Builder fileContent(SdkBytes fileContent)
The content of the file, if a source file is not specified.
fileContent - The content of the file, if a source file is not specified.PutFileEntry.Builder sourceFile(SourceFileSpecifier sourceFile)
The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
sourceFile - The name and full path of the file that contains the changes you want to make as part of the commit,
if you are not providing the file content directly.default PutFileEntry.Builder sourceFile(Consumer<SourceFileSpecifier.Builder> sourceFile)
The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
This is a convenience that creates an instance of theSourceFileSpecifier.Builder avoiding the need
to create one manually via SourceFileSpecifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sourceFile(SourceFileSpecifier).sourceFile - a consumer that will call methods on SourceFileSpecifier.BuildersourceFile(SourceFileSpecifier)Copyright © 2020. All rights reserved.