Class CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.ConfigurationDetailsProperty>
- Enclosing interface:
CfnApplicationPropsMixin.ConfigurationDetailsProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.ConfigurationDetailsProperty>
A builder for
CfnApplicationPropsMixin.ConfigurationDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalarmMetrics(List<? extends Object> alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarmMetrics()alarmMetrics(IResolvable alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarmMetrics()Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarms()alarms(IResolvable alarms) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarms()build()Builds the configured instance.haClusterPrometheusExporter(CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty haClusterPrometheusExporter) haClusterPrometheusExporter(IResolvable haClusterPrometheusExporter) hanaPrometheusExporter(CfnApplicationPropsMixin.HANAPrometheusExporterProperty hanaPrometheusExporter) hanaPrometheusExporter(IResolvable hanaPrometheusExporter) jmxPrometheusExporter(CfnApplicationPropsMixin.JMXPrometheusExporterProperty jmxPrometheusExporter) jmxPrometheusExporter(IResolvable jmxPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getLogs()logs(IResolvable logs) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getLogs()netWeaverPrometheusExporter(CfnApplicationPropsMixin.NetWeaverPrometheusExporterProperty netWeaverPrometheusExporter) netWeaverPrometheusExporter(IResolvable netWeaverPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getProcesses()processes(IResolvable processes) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getProcesses()sqlServerPrometheusExporter(CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty sqlServerPrometheusExporter) sqlServerPrometheusExporter(IResolvable sqlServerPrometheusExporter) windowsEvents(List<? extends Object> windowsEvents) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getWindowsEvents()windowsEvents(IResolvable windowsEvents) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getWindowsEvents()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmMetrics
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder alarmMetrics(IResolvable alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarmMetrics()- Parameters:
alarmMetrics- A list of metrics to monitor for the component. All component types can useAlarmMetrics.- Returns:
this
-
alarmMetrics
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder alarmMetrics(List<? extends Object> alarmMetrics) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarmMetrics()- Parameters:
alarmMetrics- A list of metrics to monitor for the component. All component types can useAlarmMetrics.- Returns:
this
-
alarms
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder alarms(IResolvable alarms) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarms()- Parameters:
alarms- A list of alarms to monitor for the component. All component types can useAlarm.- Returns:
this
-
alarms
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder alarms(List<? extends Object> alarms) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getAlarms()- Parameters:
alarms- A list of alarms to monitor for the component. All component types can useAlarm.- Returns:
this
-
haClusterPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder haClusterPrometheusExporter(IResolvable haClusterPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getHaClusterPrometheusExporter()- Parameters:
haClusterPrometheusExporter- The HA cluster Prometheus Exporter settings.- Returns:
this
-
haClusterPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder haClusterPrometheusExporter(CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty haClusterPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getHaClusterPrometheusExporter()- Parameters:
haClusterPrometheusExporter- The HA cluster Prometheus Exporter settings.- Returns:
this
-
hanaPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder hanaPrometheusExporter(IResolvable hanaPrometheusExporter) - Parameters:
hanaPrometheusExporter- The HANA DB Prometheus Exporter settings.- Returns:
this
-
hanaPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder hanaPrometheusExporter(CfnApplicationPropsMixin.HANAPrometheusExporterProperty hanaPrometheusExporter) - Parameters:
hanaPrometheusExporter- The HANA DB Prometheus Exporter settings.- Returns:
this
-
jmxPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder jmxPrometheusExporter(IResolvable jmxPrometheusExporter) - Parameters:
jmxPrometheusExporter- A list of Java metrics to monitor for the component.- Returns:
this
-
jmxPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder jmxPrometheusExporter(CfnApplicationPropsMixin.JMXPrometheusExporterProperty jmxPrometheusExporter) - Parameters:
jmxPrometheusExporter- A list of Java metrics to monitor for the component.- Returns:
this
-
logs
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder logs(IResolvable logs) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getLogs()- Parameters:
logs- A list of logs to monitor for the component. Only Amazon EC2 instances can useLogs.- Returns:
this
-
logs
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder logs(List<? extends Object> logs) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getLogs()- Parameters:
logs- A list of logs to monitor for the component. Only Amazon EC2 instances can useLogs.- Returns:
this
-
netWeaverPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder netWeaverPrometheusExporter(IResolvable netWeaverPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getNetWeaverPrometheusExporter()- Parameters:
netWeaverPrometheusExporter- The NetWeaver Prometheus Exporter Settings.- Returns:
this
-
netWeaverPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder netWeaverPrometheusExporter(CfnApplicationPropsMixin.NetWeaverPrometheusExporterProperty netWeaverPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getNetWeaverPrometheusExporter()- Parameters:
netWeaverPrometheusExporter- The NetWeaver Prometheus Exporter Settings.- Returns:
this
-
processes
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder processes(IResolvable processes) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getProcesses()- Parameters:
processes- A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section.- Returns:
this
-
processes
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder processes(List<? extends Object> processes) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getProcesses()- Parameters:
processes- A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section.- Returns:
this
-
sqlServerPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder sqlServerPrometheusExporter(IResolvable sqlServerPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getSqlServerPrometheusExporter()- Parameters:
sqlServerPrometheusExporter- The SQL prometheus exporter settings.- Returns:
this
-
sqlServerPrometheusExporter
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder sqlServerPrometheusExporter(CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty sqlServerPrometheusExporter) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getSqlServerPrometheusExporter()- Parameters:
sqlServerPrometheusExporter- The SQL prometheus exporter settings.- Returns:
this
-
windowsEvents
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder windowsEvents(IResolvable windowsEvents) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getWindowsEvents()- Parameters:
windowsEvents- A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can useWindowsEvents.- Returns:
this
-
windowsEvents
@Stability(Stable) public CfnApplicationPropsMixin.ConfigurationDetailsProperty.Builder windowsEvents(List<? extends Object> windowsEvents) Sets the value ofCfnApplicationPropsMixin.ConfigurationDetailsProperty.getWindowsEvents()- Parameters:
windowsEvents- A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can useWindowsEvents.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.ConfigurationDetailsProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.ConfigurationDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-