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