Class CfnImagePipelinePropsMixin.AutoDisablePolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnImagePipelinePropsMixin.AutoDisablePolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePipelinePropsMixin.AutoDisablePolicyProperty>
- Enclosing interface:
CfnImagePipelinePropsMixin.AutoDisablePolicyProperty
@Stability(Stable)
public static final class CfnImagePipelinePropsMixin.AutoDisablePolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePipelinePropsMixin.AutoDisablePolicyProperty>
A builder for
CfnImagePipelinePropsMixin.AutoDisablePolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.failureCount(Number failureCount) Sets the value ofCfnImagePipelinePropsMixin.AutoDisablePolicyProperty.getFailureCount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failureCount
@Stability(Stable) public CfnImagePipelinePropsMixin.AutoDisablePolicyProperty.Builder failureCount(Number failureCount) Sets the value ofCfnImagePipelinePropsMixin.AutoDisablePolicyProperty.getFailureCount()- Parameters:
failureCount- The number of consecutive scheduled image pipeline executions that must fail before Image Builder automatically disables the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImagePipelinePropsMixin.AutoDisablePolicyProperty>- Returns:
- a new instance of
CfnImagePipelinePropsMixin.AutoDisablePolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-