Interface File.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<File.Builder,,File> SdkBuilder<File.Builder,,File> SdkPojo
- Enclosing class:
File
-
Method Summary
Modifier and TypeMethodDescriptionThe alias associated with the file's time series.The name of the Amazon S3 bucket from which data is imported.default File.BuilderfileFormat(Consumer<FileFormat.Builder> fileFormat) The file format of the data in S3.fileFormat(FileFormat fileFormat) The file format of the data in S3.The key of the Amazon S3 object that contains your data.default File.BuilderstartTime(Consumer<TimeInNanos.Builder> startTime) The nanosecond-precision start time for the file data.startTime(TimeInNanos startTime) The nanosecond-precision start time for the file data.The version ID to identify a specific version of the Amazon S3 object that contains your data.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
-
bucket
The name of the Amazon S3 bucket from which data is imported.
- Parameters:
bucket- The name of the Amazon S3 bucket from which data is imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.
- Parameters:
key- The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
The version ID to identify a specific version of the Amazon S3 object that contains your data.
- Parameters:
versionId- The version ID to identify a specific version of the Amazon S3 object that contains your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
The alias associated with the file's time series.
- Parameters:
alias- The alias associated with the file's time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The nanosecond-precision start time for the file data.
- Parameters:
startTime- The nanosecond-precision start time for the file data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The nanosecond-precision start time for the file data.
This is a convenience method that creates an instance of theTimeInNanos.Builderavoiding the need to create one manually viaTimeInNanos.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTime(TimeInNanos).- Parameters:
startTime- a consumer that will call methods onTimeInNanos.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
The file format of the data in S3.
- Parameters:
fileFormat- The file format of the data in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormat
The file format of the data in S3.
This is a convenience method that creates an instance of theFileFormat.Builderavoiding the need to create one manually viaFileFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileFormat(FileFormat).- Parameters:
fileFormat- a consumer that will call methods onFileFormat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-