Interface FileVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FileVersion.Builder,
,FileVersion> SdkBuilder<FileVersion.Builder,
,FileVersion> SdkPojo
- Enclosing class:
FileVersion
public static interface FileVersion.Builder
extends SdkPojo, CopyableBuilder<FileVersion.Builder,FileVersion>
-
Method Summary
Modifier and TypeMethodDescriptionThe blob ID of the object that represents the content of the file in this version.default FileVersion.Builder
commit
(Consumer<Commit.Builder> commit) Sets the value of the Commit property for this object.Sets the value of the Commit property for this object.The name and path of the file at which this blob is indexed which contains the data for this version of the file.revisionChildren
(String... revisionChildren) An array of commit IDs that contain more recent versions of this file.revisionChildren
(Collection<String> revisionChildren) An array of commit IDs that contain more recent versions of this file.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
commit
Sets the value of the Commit property for this object.- Parameters:
commit
- The new value for the Commit property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commit
Sets the value of the Commit property for this object. This is a convenience method that creates an instance of theCommit.Builder
avoiding the need to create one manually viaCommit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommit(Commit)
.- Parameters:
commit
- a consumer that will call methods onCommit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blobId
The blob ID of the object that represents the content of the file in this version.
- Parameters:
blobId
- The blob ID of the object that represents the content of the file in this version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-