Class CfnAppMonitorPropsMixin.CustomEventsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rum.CfnAppMonitorPropsMixin.CustomEventsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppMonitorPropsMixin.CustomEventsProperty>
- Enclosing interface:
CfnAppMonitorPropsMixin.CustomEventsProperty
@Stability(Stable)
public static final class CfnAppMonitorPropsMixin.CustomEventsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppMonitorPropsMixin.CustomEventsProperty>
A builder for
CfnAppMonitorPropsMixin.CustomEventsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAppMonitorPropsMixin.CustomEventsProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
@Stability(Stable) public CfnAppMonitorPropsMixin.CustomEventsProperty.Builder status(String status) Sets the value ofCfnAppMonitorPropsMixin.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<CfnAppMonitorPropsMixin.CustomEventsProperty>- Returns:
- a new instance of
CfnAppMonitorPropsMixin.CustomEventsProperty - Throws:
NullPointerException- if any required attribute was not provided
-