Interface ReferenceFiles.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReferenceFiles.Builder,,ReferenceFiles> SdkBuilder<ReferenceFiles.Builder,,ReferenceFiles> SdkPojo
- Enclosing class:
ReferenceFiles
@Mutable
@NotThreadSafe
public static interface ReferenceFiles.Builder
extends SdkPojo, CopyableBuilder<ReferenceFiles.Builder,ReferenceFiles>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReferenceFiles.Builderindex(Consumer<FileInformation.Builder> index) The files' index.index(FileInformation index) The files' index.default ReferenceFiles.Buildersource(Consumer<FileInformation.Builder> source) The source file's location in Amazon S3.source(FileInformation source) The source file's location in Amazon S3.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
The source file's location in Amazon S3.
- Parameters:
source- The source file's location in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source file's location in Amazon S3.
This is a convenience method that creates an instance of theFileInformation.Builderavoiding the need to create one manually viaFileInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(FileInformation).- Parameters:
source- a consumer that will call methods onFileInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
index
The files' index.
- Parameters:
index- The files' index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
index
The files' index.
This is a convenience method that creates an instance of theFileInformation.Builderavoiding the need to create one manually viaFileInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindex(FileInformation).- Parameters:
index- a consumer that will call methods onFileInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-