public static interface FileVersion.Builder extends SdkPojo, CopyableBuilder<FileVersion.Builder,FileVersion>
| Modifier and Type | Method and Description |
|---|---|
FileVersion.Builder |
blobId(String blobId)
The blob ID of the object that represents the content of the file in this version.
|
FileVersion.Builder |
commit(Commit commit)
Sets the value of the Commit property for this object.
|
default FileVersion.Builder |
commit(Consumer<Commit.Builder> commit)
Sets the value of the Commit property for this object.
|
FileVersion.Builder |
path(String path)
The name and path of the file at which this blob is indexed which contains the data for this version of the
file.
|
FileVersion.Builder |
revisionChildren(Collection<String> revisionChildren)
An array of commit IDs that contain more recent versions of this file.
|
FileVersion.Builder |
revisionChildren(String... revisionChildren)
An array of commit IDs that contain more recent versions of this file.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFileVersion.Builder commit(Commit commit)
commit - The new value for the Commit property for this object.default FileVersion.Builder commit(Consumer<Commit.Builder> commit)
Commit.Builder avoiding the need to
create one manually via Commit.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to commit(Commit).
commit - a consumer that will call methods on Commit.Buildercommit(Commit)FileVersion.Builder blobId(String blobId)
The blob ID of the object that represents the content of the file in this version.
blobId - The blob ID of the object that represents the content of the file in this version.FileVersion.Builder path(String path)
The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.
path - The name and path of the file at which this blob is indexed which contains the data for this version
of the file. This value will vary between file versions if a file is renamed or if its path changes.FileVersion.Builder revisionChildren(Collection<String> revisionChildren)
An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
revisionChildren - An array of commit IDs that contain more recent versions of this file. If there are no additional
versions of the file, this array will be empty.FileVersion.Builder revisionChildren(String... revisionChildren)
An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
revisionChildren - An array of commit IDs that contain more recent versions of this file. If there are no additional
versions of the file, this array will be empty.Copyright © 2023. All rights reserved.