Class CfnApplicationPropsMixin.ProcessProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.ProcessProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.ProcessProperty>
- Enclosing interface:
CfnApplicationPropsMixin.ProcessProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.ProcessProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.ProcessProperty>
A builder for
CfnApplicationPropsMixin.ProcessProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalarmMetrics(List<? extends Object> alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ProcessProperty.getAlarmMetrics()alarmMetrics(IResolvable alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ProcessProperty.getAlarmMetrics()build()Builds the configured instance.processName(String processName) Sets the value ofCfnApplicationPropsMixin.ProcessProperty.getProcessName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmMetrics
@Stability(Stable) public CfnApplicationPropsMixin.ProcessProperty.Builder alarmMetrics(IResolvable alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ProcessProperty.getAlarmMetrics()- Parameters:
alarmMetrics- A list of metrics to monitor for the component.- Returns:
this
-
alarmMetrics
@Stability(Stable) public CfnApplicationPropsMixin.ProcessProperty.Builder alarmMetrics(List<? extends Object> alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ProcessProperty.getAlarmMetrics()- Parameters:
alarmMetrics- A list of metrics to monitor for the component.- Returns:
this
-
processName
@Stability(Stable) public CfnApplicationPropsMixin.ProcessProperty.Builder processName(String processName) Sets the value ofCfnApplicationPropsMixin.ProcessProperty.getProcessName()- Parameters:
processName- The name of the process to be monitored for the component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.ProcessProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.ProcessProperty - Throws:
NullPointerException- if any required attribute was not provided
-