Class CfnEnvironment.MonitorsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnEnvironment.MonitorsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.MonitorsProperty>
- Enclosing interface:
CfnEnvironment.MonitorsProperty
@Stability(Stable)
public static final class CfnEnvironment.MonitorsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.MonitorsProperty>
A builder for
CfnEnvironment.MonitorsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEnvironment.MonitorsProperty.getAlarmArn()alarmRoleArn(String alarmRoleArn) Sets the value ofCfnEnvironment.MonitorsProperty.getAlarmRoleArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmArn
Sets the value ofCfnEnvironment.MonitorsProperty.getAlarmArn()- Parameters:
alarmArn- the value to be set.- Returns:
this
-
alarmRoleArn
Sets the value ofCfnEnvironment.MonitorsProperty.getAlarmRoleArn()- Parameters:
alarmRoleArn- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironment.MonitorsProperty>- Returns:
- a new instance of
CfnEnvironment.MonitorsProperty - Throws:
NullPointerException- if any required attribute was not provided
-