Interface ProcessingS3Input.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ProcessingS3Input.Builder,ProcessingS3Input>
,SdkBuilder<ProcessingS3Input.Builder,ProcessingS3Input>
,SdkPojo
- Enclosing class:
- ProcessingS3Input
public static interface ProcessingS3Input.Builder extends SdkPojo, CopyableBuilder<ProcessingS3Input.Builder,ProcessingS3Input>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessingS3Input.Builder
localPath(String localPath)
The local path in your container where you want Amazon SageMaker to write input data to.ProcessingS3Input.Builder
s3CompressionType(String s3CompressionType)
Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.ProcessingS3Input.Builder
s3CompressionType(ProcessingS3CompressionType s3CompressionType)
Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.ProcessingS3Input.Builder
s3DataDistributionType(String s3DataDistributionType)
Whether to distribute the data from Amazon S3 to all processing instances withFullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.ProcessingS3Input.Builder
s3DataDistributionType(ProcessingS3DataDistributionType s3DataDistributionType)
Whether to distribute the data from Amazon S3 to all processing instances withFullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.ProcessingS3Input.Builder
s3DataType(String s3DataType)
Whether you use anS3Prefix
or aManifestFile
for the data type.ProcessingS3Input.Builder
s3DataType(ProcessingS3DataType s3DataType)
Whether you use anS3Prefix
or aManifestFile
for the data type.ProcessingS3Input.Builder
s3InputMode(String s3InputMode)
Whether to useFile
orPipe
input mode.ProcessingS3Input.Builder
s3InputMode(ProcessingS3InputMode s3InputMode)
Whether to useFile
orPipe
input mode.ProcessingS3Input.Builder
s3Uri(String s3Uri)
The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing 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
-
s3Uri
ProcessingS3Input.Builder s3Uri(String s3Uri)
The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.
- Parameters:
s3Uri
- The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localPath
ProcessingS3Input.Builder localPath(String localPath)
The local path in your container where you want Amazon SageMaker to write input data to.
LocalPath
is an absolute path to the input data and must begin with/opt/ml/processing/
.LocalPath
is a required parameter whenAppManaged
isFalse
(default).- Parameters:
localPath
- The local path in your container where you want Amazon SageMaker to write input data to.LocalPath
is an absolute path to the input data and must begin with/opt/ml/processing/
.LocalPath
is a required parameter whenAppManaged
isFalse
(default).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataType
ProcessingS3Input.Builder s3DataType(String s3DataType)
Whether you use an
S3Prefix
or aManifestFile
for the data type. If you chooseS3Prefix
,S3Uri
identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you chooseManifestFile
,S3Uri
identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.- Parameters:
s3DataType
- Whether you use anS3Prefix
or aManifestFile
for the data type. If you chooseS3Prefix
,S3Uri
identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you chooseManifestFile
,S3Uri
identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3DataType
,ProcessingS3DataType
-
s3DataType
ProcessingS3Input.Builder s3DataType(ProcessingS3DataType s3DataType)
Whether you use an
S3Prefix
or aManifestFile
for the data type. If you chooseS3Prefix
,S3Uri
identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you chooseManifestFile
,S3Uri
identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.- Parameters:
s3DataType
- Whether you use anS3Prefix
or aManifestFile
for the data type. If you chooseS3Prefix
,S3Uri
identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you chooseManifestFile
,S3Uri
identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3DataType
,ProcessingS3DataType
-
s3InputMode
ProcessingS3Input.Builder s3InputMode(String s3InputMode)
Whether to use
File
orPipe
input mode. In File mode, Amazon SageMaker copies the data from the input source onto the local ML storage volume before starting your processing container. This is the most commonly used input mode. InPipe
mode, Amazon SageMaker streams input data from the source directly to your processing container into named pipes without using the ML storage volume.- Parameters:
s3InputMode
- Whether to useFile
orPipe
input mode. In File mode, Amazon SageMaker copies the data from the input source onto the local ML storage volume before starting your processing container. This is the most commonly used input mode. InPipe
mode, Amazon SageMaker streams input data from the source directly to your processing container into named pipes without using the ML storage volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3InputMode
,ProcessingS3InputMode
-
s3InputMode
ProcessingS3Input.Builder s3InputMode(ProcessingS3InputMode s3InputMode)
Whether to use
File
orPipe
input mode. In File mode, Amazon SageMaker copies the data from the input source onto the local ML storage volume before starting your processing container. This is the most commonly used input mode. InPipe
mode, Amazon SageMaker streams input data from the source directly to your processing container into named pipes without using the ML storage volume.- Parameters:
s3InputMode
- Whether to useFile
orPipe
input mode. In File mode, Amazon SageMaker copies the data from the input source onto the local ML storage volume before starting your processing container. This is the most commonly used input mode. InPipe
mode, Amazon SageMaker streams input data from the source directly to your processing container into named pipes without using the ML storage volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3InputMode
,ProcessingS3InputMode
-
s3DataDistributionType
ProcessingS3Input.Builder s3DataDistributionType(String s3DataDistributionType)
Whether to distribute the data from Amazon S3 to all processing instances with
FullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.- Parameters:
s3DataDistributionType
- Whether to distribute the data from Amazon S3 to all processing instances withFullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3DataDistributionType
,ProcessingS3DataDistributionType
-
s3DataDistributionType
ProcessingS3Input.Builder s3DataDistributionType(ProcessingS3DataDistributionType s3DataDistributionType)
Whether to distribute the data from Amazon S3 to all processing instances with
FullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.- Parameters:
s3DataDistributionType
- Whether to distribute the data from Amazon S3 to all processing instances withFullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3DataDistributionType
,ProcessingS3DataDistributionType
-
s3CompressionType
ProcessingS3Input.Builder s3CompressionType(String s3CompressionType)
Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.
Gzip
can only be used whenPipe
mode is specified as theS3InputMode
. InPipe
mode, Amazon SageMaker streams input data from the source directly to your container without using the EBS volume.- Parameters:
s3CompressionType
- Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.Gzip
can only be used whenPipe
mode is specified as theS3InputMode
. InPipe
mode, Amazon SageMaker streams input data from the source directly to your container without using the EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3CompressionType
,ProcessingS3CompressionType
-
s3CompressionType
ProcessingS3Input.Builder s3CompressionType(ProcessingS3CompressionType s3CompressionType)
Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.
Gzip
can only be used whenPipe
mode is specified as theS3InputMode
. InPipe
mode, Amazon SageMaker streams input data from the source directly to your container without using the EBS volume.- Parameters:
s3CompressionType
- Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.Gzip
can only be used whenPipe
mode is specified as theS3InputMode
. InPipe
mode, Amazon SageMaker streams input data from the source directly to your container without using the EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProcessingS3CompressionType
,ProcessingS3CompressionType
-
-