Package org.cdk8s.plus24
Class EnvValueFromProcessOptions.Builder
- java.lang.Object
-
- org.cdk8s.plus24.EnvValueFromProcessOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnvValueFromProcessOptions>
- Enclosing interface:
- EnvValueFromProcessOptions
@Stability(Stable) public static final class EnvValueFromProcessOptions.Builder extends Object implements software.amazon.jsii.Builder<EnvValueFromProcessOptions>
A builder forEnvValueFromProcessOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvValueFromProcessOptions
build()
Builds the configured instance.EnvValueFromProcessOptions.Builder
required(Boolean required)
Sets the value ofEnvValueFromProcessOptions.getRequired()
-
-
-
Method Detail
-
required
@Stability(Stable) public EnvValueFromProcessOptions.Builder required(Boolean required)
Sets the value ofEnvValueFromProcessOptions.getRequired()
- Parameters:
required
- Specify whether the key must exist in the environment. If this is set to true, and the key does not exist, an error will thrown.- Returns:
this
-
build
@Stability(Stable) public EnvValueFromProcessOptions build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EnvValueFromProcessOptions>
- Returns:
- a new instance of
EnvValueFromProcessOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-
-