public static final class CfnDetectorModel.StateProperty.Builder
extends java.lang.Object
CfnDetectorModel.StateProperty
Constructor and Description |
---|
Builder() |
public CfnDetectorModel.StateProperty.Builder stateName(java.lang.String stateName)
CfnDetectorModel.StateProperty.getStateName()
stateName
- The name of the state. This parameter is required.this
public CfnDetectorModel.StateProperty.Builder onEnter(IResolvable onEnter)
CfnDetectorModel.StateProperty.getOnEnter()
onEnter
- When entering this state, perform these `actions` if the `condition` is TRUE.this
public CfnDetectorModel.StateProperty.Builder onEnter(CfnDetectorModel.OnEnterProperty onEnter)
CfnDetectorModel.StateProperty.getOnEnter()
onEnter
- When entering this state, perform these `actions` if the `condition` is TRUE.this
public CfnDetectorModel.StateProperty.Builder onExit(IResolvable onExit)
CfnDetectorModel.StateProperty.getOnExit()
onExit
- When exiting this state, perform these `actions` if the specified `condition` is `TRUE` .this
public CfnDetectorModel.StateProperty.Builder onExit(CfnDetectorModel.OnExitProperty onExit)
CfnDetectorModel.StateProperty.getOnExit()
onExit
- When exiting this state, perform these `actions` if the specified `condition` is `TRUE` .this
public CfnDetectorModel.StateProperty.Builder onInput(IResolvable onInput)
CfnDetectorModel.StateProperty.getOnInput()
onInput
- When an input is received and the `condition` is TRUE, perform the specified `actions` .this
public CfnDetectorModel.StateProperty.Builder onInput(CfnDetectorModel.OnInputProperty onInput)
CfnDetectorModel.StateProperty.getOnInput()
onInput
- When an input is received and the `condition` is TRUE, perform the specified `actions` .this
public CfnDetectorModel.StateProperty build()
CfnDetectorModel.StateProperty
java.lang.NullPointerException
- if any required attribute was not provided