Class ModelDataConfig.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.alpha.ModelDataConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ModelDataConfig>
- Enclosing interface:
ModelDataConfig
@Stability(Experimental)
public static final class ModelDataConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ModelDataConfig>
A builder for
ModelDataConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofModelDataConfig.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
uri
Sets the value ofModelDataConfig.getUri()
- Parameters:
uri
- The S3 path where the model artifacts, which result from model training, are stored. This parameter is required. This path must point to a single gzip compressed tar archive (.tar.gz suffix).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ModelDataConfig>
- Returns:
- a new instance of
ModelDataConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-