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