Class CfnAppImageConfig.ContainerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAppImageConfig.ContainerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppImageConfig.ContainerConfigProperty>
- Enclosing interface:
CfnAppImageConfig.ContainerConfigProperty
@Stability(Stable)
public static final class CfnAppImageConfig.ContainerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppImageConfig.ContainerConfigProperty>
A builder for
CfnAppImageConfig.ContainerConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerArguments(List<String> containerArguments) Sets the value ofCfnAppImageConfig.ContainerConfigProperty.getContainerArguments()containerEntrypoint(List<String> containerEntrypoint) Sets the value ofCfnAppImageConfig.ContainerConfigProperty.getContainerEntrypoint()containerEnvironmentVariables(List<? extends Object> containerEnvironmentVariables) containerEnvironmentVariables(IResolvable containerEnvironmentVariables)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerArguments
@Stability(Stable) public CfnAppImageConfig.ContainerConfigProperty.Builder containerArguments(List<String> containerArguments) Sets the value ofCfnAppImageConfig.ContainerConfigProperty.getContainerArguments()- Parameters:
containerArguments- The arguments for the container when you're running the application.- Returns:
this
-
containerEntrypoint
@Stability(Stable) public CfnAppImageConfig.ContainerConfigProperty.Builder containerEntrypoint(List<String> containerEntrypoint) Sets the value ofCfnAppImageConfig.ContainerConfigProperty.getContainerEntrypoint()- Parameters:
containerEntrypoint- The entrypoint used to run the application in the container.- Returns:
this
-
containerEnvironmentVariables
@Stability(Stable) public CfnAppImageConfig.ContainerConfigProperty.Builder containerEnvironmentVariables(IResolvable containerEnvironmentVariables) - Parameters:
containerEnvironmentVariables- The environment variables to set in the container.- Returns:
this
-
containerEnvironmentVariables
@Stability(Stable) public CfnAppImageConfig.ContainerConfigProperty.Builder containerEnvironmentVariables(List<? extends Object> containerEnvironmentVariables) - Parameters:
containerEnvironmentVariables- The environment variables to set in the container.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppImageConfig.ContainerConfigProperty>- Returns:
- a new instance of
CfnAppImageConfig.ContainerConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-