public static final class CfnDetectorModel.OnEnterProperty.Builder
extends java.lang.Object
CfnDetectorModel.OnEnterProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDetectorModel.OnEnterProperty |
build()
Builds the configured instance.
|
CfnDetectorModel.OnEnterProperty.Builder |
events(IResolvable events)
Sets the value of
CfnDetectorModel.OnEnterProperty.getEvents() |
CfnDetectorModel.OnEnterProperty.Builder |
events(java.util.List<? extends java.lang.Object> events)
Sets the value of
CfnDetectorModel.OnEnterProperty.getEvents() |
public CfnDetectorModel.OnEnterProperty.Builder events(IResolvable events)
CfnDetectorModel.OnEnterProperty.getEvents()
events
- Specifies the actions that are performed when the state is entered and the `condition` is `TRUE` .this
public CfnDetectorModel.OnEnterProperty.Builder events(java.util.List<? extends java.lang.Object> events)
CfnDetectorModel.OnEnterProperty.getEvents()
events
- Specifies the actions that are performed when the state is entered and the `condition` is `TRUE` .this
public CfnDetectorModel.OnEnterProperty build()
CfnDetectorModel.OnEnterProperty
java.lang.NullPointerException
- if any required attribute was not provided