Class CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty>
- Enclosing interface:
CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty
@Stability(Stable)
public static final class CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty.Builder key(String key) - Parameters:
key
- The key that identifies a container environment variable. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty.Builder value(String value) - Parameters:
value
- The value of the container environment variable. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty>
- Returns:
- a new instance of
CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-