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