Interface File.Builder

All Superinterfaces:
Buildable, CopyableBuilder<File.Builder,File>, SdkBuilder<File.Builder,File>, SdkPojo
Enclosing class:
File

@Mutable @NotThreadSafe public static interface File.Builder extends SdkPojo, CopyableBuilder<File.Builder,File>
  • Method Details

    • bucket

      File.Builder bucket(String 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

      File.Builder key(String 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

      File.Builder versionId(String 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

      File.Builder alias(String 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

      File.Builder startTime(TimeInNanos 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

      default File.Builder startTime(Consumer<TimeInNanos.Builder> startTime)

      The nanosecond-precision start time for the file data.

      This is a convenience method that creates an instance of the TimeInNanos.Builder avoiding the need to create one manually via TimeInNanos.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to startTime(TimeInNanos).

      Parameters:
      startTime - a consumer that will call methods on TimeInNanos.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileFormat

      File.Builder fileFormat(FileFormat 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

      default File.Builder fileFormat(Consumer<FileFormat.Builder> fileFormat)

      The file format of the data in S3.

      This is a convenience method that creates an instance of the FileFormat.Builder avoiding the need to create one manually via FileFormat.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fileFormat(FileFormat).

      Parameters:
      fileFormat - a consumer that will call methods on FileFormat.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: