Interface ReferenceFiles.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReferenceFiles.Builder,ReferenceFiles>,SdkBuilder<ReferenceFiles.Builder,ReferenceFiles>,SdkPojo
- Enclosing class:
- ReferenceFiles
public static interface ReferenceFiles.Builder extends SdkPojo, CopyableBuilder<ReferenceFiles.Builder,ReferenceFiles>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReferenceFiles.Builderindex(Consumer<FileInformation.Builder> index)The files' index.ReferenceFiles.Builderindex(FileInformation index)The files' index.default ReferenceFiles.Buildersource(Consumer<FileInformation.Builder> source)The source file's location in Amazon S3.ReferenceFiles.Buildersource(FileInformation source)The source file's location in Amazon S3.-
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 Detail
-
source
ReferenceFiles.Builder source(FileInformation 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
default ReferenceFiles.Builder source(Consumer<FileInformation.Builder> 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:
source(FileInformation)
-
index
ReferenceFiles.Builder index(FileInformation 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
default ReferenceFiles.Builder index(Consumer<FileInformation.Builder> 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:
index(FileInformation)
-
-