Class CfnImagePropsMixin.ImageTestsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnImagePropsMixin.ImageTestsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePropsMixin.ImageTestsConfigurationProperty>
- Enclosing interface:
CfnImagePropsMixin.ImageTestsConfigurationProperty
@Stability(Stable)
public static final class CfnImagePropsMixin.ImageTestsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePropsMixin.ImageTestsConfigurationProperty>
A builder for
CfnImagePropsMixin.ImageTestsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.imageTestsEnabled(Boolean imageTestsEnabled) imageTestsEnabled(IResolvable imageTestsEnabled) timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnImagePropsMixin.ImageTestsConfigurationProperty.getTimeoutMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageTestsEnabled
@Stability(Stable) public CfnImagePropsMixin.ImageTestsConfigurationProperty.Builder imageTestsEnabled(Boolean imageTestsEnabled) - Parameters:
imageTestsEnabled- Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.- Returns:
this
-
imageTestsEnabled
@Stability(Stable) public CfnImagePropsMixin.ImageTestsConfigurationProperty.Builder imageTestsEnabled(IResolvable imageTestsEnabled) - Parameters:
imageTestsEnabled- Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnImagePropsMixin.ImageTestsConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnImagePropsMixin.ImageTestsConfigurationProperty.getTimeoutMinutes()- Parameters:
timeoutMinutes- The maximum time in minutes that tests are permitted to run.The timeout property is not currently active. This value is ignored.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImagePropsMixin.ImageTestsConfigurationProperty>- Returns:
- a new instance of
CfnImagePropsMixin.ImageTestsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-