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