Class ContainerImageConfig.Builder

java.lang.Object
software.amazon.awscdk.services.sagemaker.alpha.ContainerImageConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerImageConfig>
Enclosing interface:
ContainerImageConfig

@Stability(Experimental) public static final class ContainerImageConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerImageConfig>
A builder for ContainerImageConfig
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • imageName

      @Stability(Experimental) public ContainerImageConfig.Builder imageName(String imageName)
      Parameters:
      imageName - The image name. Images in Amazon ECR repositories can be specified by either using the full registry/repository:tag or registry/repository@digest. This parameter is required. For example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest or 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE.
      Returns:
      this
    • build

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