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