Interface S3SourceConfig.Builder

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

public static interface S3SourceConfig.Builder extends SdkPojo, CopyableBuilder<S3SourceConfig.Builder,S3SourceConfig>
  • Method Details

    • roleArn

      S3SourceConfig.Builder roleArn(String roleArn)

      The ARN of an IAM role that has read and write access permissions to the source S3 bucket.

      Parameters:
      roleArn - The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templatedPathList

      S3SourceConfig.Builder templatedPathList(Collection<String> templatedPathList)

      A list of templated paths to the source files.

      Parameters:
      templatedPathList - A list of templated paths to the source files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templatedPathList

      S3SourceConfig.Builder templatedPathList(String... templatedPathList)

      A list of templated paths to the source files.

      Parameters:
      templatedPathList - A list of templated paths to the source files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • historicalDataPathList

      S3SourceConfig.Builder historicalDataPathList(Collection<String> historicalDataPathList)

      A list of paths to the historical data files.

      Parameters:
      historicalDataPathList - A list of paths to the historical data files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • historicalDataPathList

      S3SourceConfig.Builder historicalDataPathList(String... historicalDataPathList)

      A list of paths to the historical data files.

      Parameters:
      historicalDataPathList - A list of paths to the historical data files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileFormatDescriptor

      S3SourceConfig.Builder fileFormatDescriptor(FileFormatDescriptor fileFormatDescriptor)

      Contains information about a source file's formatting.

      Parameters:
      fileFormatDescriptor - Contains information about a source file's formatting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileFormatDescriptor

      default S3SourceConfig.Builder fileFormatDescriptor(Consumer<FileFormatDescriptor.Builder> fileFormatDescriptor)

      Contains information about a source file's formatting.

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

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

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