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
-
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 toENABLED
to allow the web client to send custom events for this app monitor. Valid values areENABLED
andDISABLED
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAppMonitor.CustomEventsProperty>
- Returns:
- a new instance of
CfnAppMonitor.CustomEventsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-