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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofContainerImageConfig.getImageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageName
Sets the value ofContainerImageConfig.getImageName()
- 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
or012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ContainerImageConfig>
- Returns:
- a new instance of
ContainerImageConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-