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