Interface DataSourceConfig.Builder

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

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

    • name

      The name of the data source.

      Parameters:
      name - The name of the data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Bucket

      DataSourceConfig.Builder s3Bucket(String s3Bucket)

      The S3 bucket where the data files are located.

      Parameters:
      s3Bucket - The S3 bucket where the data files are located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Keys

      The list of S3 keys identifying the data source files.

      Parameters:
      s3Keys - The list of S3 keys identifying the data source files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Keys

      DataSourceConfig.Builder s3Keys(String... s3Keys)

      The list of S3 keys identifying the data source files.

      Parameters:
      s3Keys - The list of S3 keys identifying the data source files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

      If you don't specify a field, the default value is File.

      Parameters:
      type - The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

      If you don't specify a field, the default value is File.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

      If you don't specify a field, the default value is File.

      Parameters:
      type - The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

      If you don't specify a field, the default value is File.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • destination

      DataSourceConfig.Builder destination(String destination)

      The location where your files are mounted in the container image.

      If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

      If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

      If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

      Parameters:
      destination - The location where your files are mounted in the container image.

      If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

      If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

      If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

      Returns:
      Returns a reference to this object so that method calls can be chained together.