Class CfnGeneratedTemplatePropsMixin.TemplateProgressProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnGeneratedTemplatePropsMixin.TemplateProgressProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeneratedTemplatePropsMixin.TemplateProgressProperty>
- Enclosing interface:
CfnGeneratedTemplatePropsMixin.TemplateProgressProperty
@Stability(Stable)
public static final class CfnGeneratedTemplatePropsMixin.TemplateProgressProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeneratedTemplatePropsMixin.TemplateProgressProperty>
A builder for
CfnGeneratedTemplatePropsMixin.TemplateProgressProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourcesFailed(Number resourcesFailed) resourcesPending(Number resourcesPending) resourcesProcessing(Number resourcesProcessing) resourcesSucceeded(Number resourcesSucceeded)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourcesFailed
@Stability(Stable) public CfnGeneratedTemplatePropsMixin.TemplateProgressProperty.Builder resourcesFailed(Number resourcesFailed) - Parameters:
resourcesFailed- The number of resources that failed the template generation.- Returns:
this
-
resourcesPending
@Stability(Stable) public CfnGeneratedTemplatePropsMixin.TemplateProgressProperty.Builder resourcesPending(Number resourcesPending) - Parameters:
resourcesPending- The number of resources that are still pending the template generation.- Returns:
this
-
resourcesProcessing
@Stability(Stable) public CfnGeneratedTemplatePropsMixin.TemplateProgressProperty.Builder resourcesProcessing(Number resourcesProcessing) - Parameters:
resourcesProcessing- The number of resources that are in-process for the template generation.- Returns:
this
-
resourcesSucceeded
@Stability(Stable) public CfnGeneratedTemplatePropsMixin.TemplateProgressProperty.Builder resourcesSucceeded(Number resourcesSucceeded) - Parameters:
resourcesSucceeded- The number of resources that succeeded the template generation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeneratedTemplatePropsMixin.TemplateProgressProperty>- Returns:
- a new instance of
CfnGeneratedTemplatePropsMixin.TemplateProgressProperty - Throws:
NullPointerException- if any required attribute was not provided
-