Class CfnProcessingJob.ProcessingInputsObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProcessingJob.ProcessingInputsObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob.ProcessingInputsObjectProperty>
- Enclosing interface:
CfnProcessingJob.ProcessingInputsObjectProperty
@Stability(Stable)
public static final class CfnProcessingJob.ProcessingInputsObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJob.ProcessingInputsObjectProperty>
A builder for
CfnProcessingJob.ProcessingInputsObjectProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappManaged
(Boolean appManaged) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getAppManaged()
appManaged
(IResolvable appManaged) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getAppManaged()
build()
Builds the configured instance.datasetDefinition
(IResolvable datasetDefinition) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getDatasetDefinition()
datasetDefinition
(CfnProcessingJob.DatasetDefinitionProperty datasetDefinition) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getDatasetDefinition()
Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getInputName()
s3Input
(IResolvable s3Input) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getS3Input()
s3Input
(CfnProcessingJob.S3InputProperty s3Input) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getS3Input()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputName
@Stability(Stable) public CfnProcessingJob.ProcessingInputsObjectProperty.Builder inputName(String inputName) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getInputName()
- Parameters:
inputName
- The name for the processing job input. This parameter is required.- Returns:
this
-
appManaged
@Stability(Stable) public CfnProcessingJob.ProcessingInputsObjectProperty.Builder appManaged(Boolean appManaged) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getAppManaged()
- Parameters:
appManaged
- WhenTrue
, input operations such as data download are managed natively by the processing job application. WhenFalse
(default), input operations are managed by Amazon SageMaker.- Returns:
this
-
appManaged
@Stability(Stable) public CfnProcessingJob.ProcessingInputsObjectProperty.Builder appManaged(IResolvable appManaged) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getAppManaged()
- Parameters:
appManaged
- WhenTrue
, input operations such as data download are managed natively by the processing job application. WhenFalse
(default), input operations are managed by Amazon SageMaker.- Returns:
this
-
datasetDefinition
@Stability(Stable) public CfnProcessingJob.ProcessingInputsObjectProperty.Builder datasetDefinition(IResolvable datasetDefinition) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getDatasetDefinition()
- Parameters:
datasetDefinition
- Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of eitherAthenaDatasetDefinition
orRedshiftDatasetDefinition
types.- Returns:
this
-
datasetDefinition
@Stability(Stable) public CfnProcessingJob.ProcessingInputsObjectProperty.Builder datasetDefinition(CfnProcessingJob.DatasetDefinitionProperty datasetDefinition) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getDatasetDefinition()
- Parameters:
datasetDefinition
- Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of eitherAthenaDatasetDefinition
orRedshiftDatasetDefinition
types.- Returns:
this
-
s3Input
@Stability(Stable) public CfnProcessingJob.ProcessingInputsObjectProperty.Builder s3Input(IResolvable s3Input) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getS3Input()
- Parameters:
s3Input
- Configuration for downloading input data from Amazon S3 into the processing container.- Returns:
this
-
s3Input
@Stability(Stable) public CfnProcessingJob.ProcessingInputsObjectProperty.Builder s3Input(CfnProcessingJob.S3InputProperty s3Input) Sets the value ofCfnProcessingJob.ProcessingInputsObjectProperty.getS3Input()
- Parameters:
s3Input
- Configuration for downloading input data from Amazon S3 into the processing container.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProcessingJob.ProcessingInputsObjectProperty>
- Returns:
- a new instance of
CfnProcessingJob.ProcessingInputsObjectProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-