Class CfnPipeline.SuccessConditionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.SuccessConditionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.SuccessConditionsProperty>
- Enclosing interface:
CfnPipeline.SuccessConditionsProperty
@Stability(Stable)
public static final class CfnPipeline.SuccessConditionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.SuccessConditionsProperty>
A builder for
CfnPipeline.SuccessConditionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnPipeline.SuccessConditionsProperty.getConditions()conditions(IResolvable conditions) Sets the value ofCfnPipeline.SuccessConditionsProperty.getConditions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditions
@Stability(Stable) public CfnPipeline.SuccessConditionsProperty.Builder conditions(IResolvable conditions) Sets the value ofCfnPipeline.SuccessConditionsProperty.getConditions()- Parameters:
conditions- The conditions that are success conditions.- Returns:
this
-
conditions
@Stability(Stable) public CfnPipeline.SuccessConditionsProperty.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnPipeline.SuccessConditionsProperty.getConditions()- Parameters:
conditions- The conditions that are success conditions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.SuccessConditionsProperty>- Returns:
- a new instance of
CfnPipeline.SuccessConditionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-