Interface FileInformation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FileInformation.Builder,
,FileInformation> SdkBuilder<FileInformation.Builder,
,FileInformation> SdkPojo
- Enclosing class:
FileInformation
public static interface FileInformation.Builder
extends SdkPojo, CopyableBuilder<FileInformation.Builder,FileInformation>
-
Method Summary
Modifier and TypeMethodDescriptioncontentLength
(Long contentLength) The file's content length.The file's part size.default FileInformation.Builder
s3Access
(Consumer<ReadSetS3Access.Builder> s3Access) The S3 URI metadata of a sequence store.s3Access
(ReadSetS3Access s3Access) The S3 URI metadata of a sequence store.totalParts
(Integer totalParts) The file's total parts.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
-
totalParts
The file's total parts.
- Parameters:
totalParts
- The file's total parts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partSize
The file's part size.
- Parameters:
partSize
- The file's part size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
The file's content length.
- Parameters:
contentLength
- The file's content length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Access
The S3 URI metadata of a sequence store.
- Parameters:
s3Access
- The S3 URI metadata of a sequence store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Access
The S3 URI metadata of a sequence store.
This is a convenience method that creates an instance of theReadSetS3Access.Builder
avoiding the need to create one manually viaReadSetS3Access.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Access(ReadSetS3Access)
.- Parameters:
s3Access
- a consumer that will call methods onReadSetS3Access.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-