Class CfnMicrovmImage.EnvironmentVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnMicrovmImage.EnvironmentVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMicrovmImage.EnvironmentVariableProperty>
- Enclosing interface:
CfnMicrovmImage.EnvironmentVariableProperty
@Stability(Stable)
public static final class CfnMicrovmImage.EnvironmentVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMicrovmImage.EnvironmentVariableProperty>
A builder for
CfnMicrovmImage.EnvironmentVariableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMicrovmImage.EnvironmentVariableProperty.getKey()Sets the value ofCfnMicrovmImage.EnvironmentVariableProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnMicrovmImage.EnvironmentVariableProperty.getKey()- Parameters:
key- the value to be set. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnMicrovmImage.EnvironmentVariableProperty.getValue()- Parameters:
value- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMicrovmImage.EnvironmentVariableProperty>- Returns:
- a new instance of
CfnMicrovmImage.EnvironmentVariableProperty - Throws:
NullPointerException- if any required attribute was not provided
-