Interface DataSourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSourceConfig.Builder,
,DataSourceConfig> SdkBuilder<DataSourceConfig.Builder,
,DataSourceConfig> SdkPojo
- Enclosing class:
DataSourceConfig
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(String destination) The location where your files are mounted in the container image.The name of the data source.The S3 bucket where the data files are located.The list of S3 keys identifying the data source files.s3Keys
(Collection<String> s3Keys) The list of S3 keys identifying the data source files.The data type for the data source that you're using for your container image or simulation job.type
(DataSourceType type) The data type for the data source that you're using for your container image or simulation job.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 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
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
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
The location where your files are mounted in the container image.
If you've specified the
type
of the data source as anArchive
, 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 aPrefix
, 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 aFile
, 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 anArchive
, 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 aPrefix
, 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 aFile
, 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.
-