Class CfnTrigger.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnTrigger.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrigger.ConditionProperty>
- Enclosing interface:
CfnTrigger.ConditionProperty
@Stability(Stable)
public static final class CfnTrigger.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrigger.ConditionProperty>
A builder for
CfnTrigger.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.schedule(IResolvable schedule) Sets the value ofCfnTrigger.ConditionProperty.getSchedule()schedule(CfnTrigger.ScheduleProperty schedule) Sets the value ofCfnTrigger.ConditionProperty.getSchedule()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schedule
Sets the value ofCfnTrigger.ConditionProperty.getSchedule()- Parameters:
schedule- Schedule configuration for a time-based trigger. This parameter is required.- Returns:
this
-
schedule
@Stability(Stable) public CfnTrigger.ConditionProperty.Builder schedule(CfnTrigger.ScheduleProperty schedule) Sets the value ofCfnTrigger.ConditionProperty.getSchedule()- Parameters:
schedule- Schedule configuration for a time-based trigger. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrigger.ConditionProperty>- Returns:
- a new instance of
CfnTrigger.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-