Class CfnTriggerPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnTriggerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTriggerPropsMixin>
- Enclosing class:
CfnTriggerPropsMixin
@Stability(Stable)
public static final class CfnTriggerPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTriggerPropsMixin>
A fluent builder for
CfnTriggerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe action to perform when the trigger fires.agentSpaceId(String agentSpaceId) The unique identifier of the parent Agent Space.build()condition(CfnTriggerPropsMixin.ConditionProperty condition) The condition that causes the trigger to fire.condition(IResolvable condition) The condition that causes the trigger to fire.static CfnTriggerPropsMixin.Buildercreate()static CfnTriggerPropsMixin.Buildercreate(CfnPropertyMixinOptions options) The status of the trigger.The type of trigger.
-
Method Details
-
create
@Stability(Stable) public static CfnTriggerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTriggerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTriggerPropsMixin.Builder.
-
action
The action to perform when the trigger fires.A JSON object containing actionType and task.
- Parameters:
action- The action to perform when the trigger fires. This parameter is required.- Returns:
this- See Also:
-
agentSpaceId
The unique identifier of the parent Agent Space.- Parameters:
agentSpaceId- The unique identifier of the parent Agent Space. This parameter is required.- Returns:
this- See Also:
-
condition
The condition that causes the trigger to fire.- Parameters:
condition- The condition that causes the trigger to fire. This parameter is required.- Returns:
this- See Also:
-
condition
@Stability(Stable) public CfnTriggerPropsMixin.Builder condition(CfnTriggerPropsMixin.ConditionProperty condition) The condition that causes the trigger to fire.- Parameters:
condition- The condition that causes the trigger to fire. This parameter is required.- Returns:
this- See Also:
-
status
The status of the trigger.Active triggers fire on schedule; Inactive triggers are paused.
Default: - "Active"
- Parameters:
status- The status of the trigger. This parameter is required.- Returns:
this- See Also:
-
type
The type of trigger.- Parameters:
type- The type of trigger. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTriggerPropsMixin>- Returns:
- a newly built instance of
CfnTriggerPropsMixin.
-