Interface DataSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSource.Builder,DataSource>,SdkBuilder<DataSource.Builder,DataSource>,SdkPojo
- Enclosing class:
- DataSource
public static interface DataSource.Builder extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSource.Builderdestination(String destination)The location where your files are mounted in the container image.DataSource.Buildername(String name)The name of the data source.DataSource.Builders3Bucket(String s3Bucket)The S3 bucket where the data files are located.DataSource.Builders3Keys(Collection<S3KeyOutput> s3Keys)The list of S3 keys identifying the data source files.DataSource.Builders3Keys(Consumer<S3KeyOutput.Builder>... s3Keys)The list of S3 keys identifying the data source files.DataSource.Builders3Keys(S3KeyOutput... s3Keys)The list of S3 keys identifying the data source files.DataSource.Buildertype(String type)The data type for the data source that you're using for your container image or simulation job.DataSource.Buildertype(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 Detail
-
name
DataSource.Builder name(String 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
DataSource.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
DataSource.Builder s3Keys(Collection<S3KeyOutput> 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
DataSource.Builder s3Keys(S3KeyOutput... 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
DataSource.Builder s3Keys(Consumer<S3KeyOutput.Builder>... s3Keys)
The list of S3 keys identifying the data source files.
This is a convenience method that creates an instance of theS3KeyOutput.Builderavoiding the need to create one manually viaS3KeyOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#s3Keys(List.) - Parameters:
s3Keys- a consumer that will call methods onS3KeyOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#s3Keys(java.util.Collection)
-
type
DataSource.Builder type(String 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:
DataSourceType,DataSourceType
-
type
DataSource.Builder type(DataSourceType 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:
DataSourceType,DataSourceType
-
destination
DataSource.Builder destination(String destination)
The location where your files are mounted in the container image.
If you've specified the
typeof the data source as anArchive, you must provide an Amazon S3 object key to your archive. The object key must point to either a.zipor.tar.gzfile.If you've specified the
typeof 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
typeof 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
typeof the data source as anArchive, you must provide an Amazon S3 object key to your archive. The object key must point to either a.zipor.tar.gzfile.If you've specified the
typeof 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
typeof 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.
-
-