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 Details

    • Builder

      public Builder()
  • Method Details

    • uri

      @Stability(Experimental) public ModelDataConfig.Builder uri(String uri)
      Sets the value of ModelDataConfig.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

      @Stability(Experimental) public ModelDataConfig build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<ModelDataConfig>
      Returns:
      a new instance of ModelDataConfig
      Throws:
      NullPointerException - if any required attribute was not provided