public static final class CfnDetectorModel.TransitionEventProperty.Builder
extends java.lang.Object
CfnDetectorModel.TransitionEventProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDetectorModel.TransitionEventProperty.Builder |
actions(IResolvable actions)
Sets the value of
CfnDetectorModel.TransitionEventProperty.getActions() |
CfnDetectorModel.TransitionEventProperty.Builder |
actions(java.util.List<? extends java.lang.Object> actions)
Sets the value of
CfnDetectorModel.TransitionEventProperty.getActions() |
CfnDetectorModel.TransitionEventProperty |
build()
Builds the configured instance.
|
CfnDetectorModel.TransitionEventProperty.Builder |
condition(java.lang.String condition)
Sets the value of
CfnDetectorModel.TransitionEventProperty.getCondition() |
CfnDetectorModel.TransitionEventProperty.Builder |
eventName(java.lang.String eventName)
Sets the value of
CfnDetectorModel.TransitionEventProperty.getEventName() |
CfnDetectorModel.TransitionEventProperty.Builder |
nextState(java.lang.String nextState)
Sets the value of
CfnDetectorModel.TransitionEventProperty.getNextState() |
public CfnDetectorModel.TransitionEventProperty.Builder condition(java.lang.String condition)
CfnDetectorModel.TransitionEventProperty.getCondition()
condition
- Required. This parameter is required.
A Boolean expression that when TRUE causes the actions to be performed and the nextState
to be entered.this
public CfnDetectorModel.TransitionEventProperty.Builder eventName(java.lang.String eventName)
CfnDetectorModel.TransitionEventProperty.getEventName()
eventName
- The name of the transition event. This parameter is required.this
public CfnDetectorModel.TransitionEventProperty.Builder nextState(java.lang.String nextState)
CfnDetectorModel.TransitionEventProperty.getNextState()
nextState
- The next state to enter. This parameter is required.this
public CfnDetectorModel.TransitionEventProperty.Builder actions(IResolvable actions)
CfnDetectorModel.TransitionEventProperty.getActions()
actions
- The actions to be performed.this
public CfnDetectorModel.TransitionEventProperty.Builder actions(java.util.List<? extends java.lang.Object> actions)
CfnDetectorModel.TransitionEventProperty.getActions()
actions
- The actions to be performed.this
public CfnDetectorModel.TransitionEventProperty build()
CfnDetectorModel.TransitionEventProperty
java.lang.NullPointerException
- if any required attribute was not provided