Class CfnAppMonitor.CustomEventsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rum.CfnAppMonitor.CustomEventsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppMonitor.CustomEventsProperty>
- Enclosing interface:
CfnAppMonitor.CustomEventsProperty
@Stability(Stable)
public static final class CfnAppMonitor.CustomEventsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppMonitor.CustomEventsProperty>
A builder for
CfnAppMonitor.CustomEventsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAppMonitor.CustomEventsProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnAppMonitor.CustomEventsProperty.getStatus()- Parameters:
status- Set this toENABLEDto allow the web client to send custom events for this app monitor. Valid values areENABLEDandDISABLED.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppMonitor.CustomEventsProperty>- Returns:
- a new instance of
CfnAppMonitor.CustomEventsProperty - Throws:
NullPointerException- if any required attribute was not provided
-