Class CfnModel.ModelDataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModel.ModelDataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModel.ModelDataSourceProperty>
- Enclosing interface:
CfnModel.ModelDataSourceProperty
@Stability(Stable)
public static final class CfnModel.ModelDataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModel.ModelDataSourceProperty>
A builder for
CfnModel.ModelDataSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3DataSource
(IResolvable s3DataSource) Sets the value ofCfnModel.ModelDataSourceProperty.getS3DataSource()
s3DataSource
(CfnModel.S3DataSourceProperty s3DataSource) Sets the value ofCfnModel.ModelDataSourceProperty.getS3DataSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3DataSource
@Stability(Stable) public CfnModel.ModelDataSourceProperty.Builder s3DataSource(IResolvable s3DataSource) Sets the value ofCfnModel.ModelDataSourceProperty.getS3DataSource()
- Parameters:
s3DataSource
- Specifies the S3 location of ML model data to deploy. This parameter is required.- Returns:
this
-
s3DataSource
@Stability(Stable) public CfnModel.ModelDataSourceProperty.Builder s3DataSource(CfnModel.S3DataSourceProperty s3DataSource) Sets the value ofCfnModel.ModelDataSourceProperty.getS3DataSource()
- Parameters:
s3DataSource
- Specifies the S3 location of ML model data to deploy. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModel.ModelDataSourceProperty>
- Returns:
- a new instance of
CfnModel.ModelDataSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-