Class CfnApplication.ConfigurationDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.applicationinsights.CfnApplication.ConfigurationDetailsProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnApplication.ConfigurationDetailsProperty>
- Enclosing interface:
- CfnApplication.ConfigurationDetailsProperty
@Stability(Stable)
public static final class CfnApplication.ConfigurationDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ConfigurationDetailsProperty>
A builder for 
CfnApplication.ConfigurationDetailsProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionalarmMetrics(List<? extends Object> alarmMetrics) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarmMetrics()alarmMetrics(IResolvable alarmMetrics) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarmMetrics()Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarms()alarms(IResolvable alarms) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarms()build()Builds the configured instance.haClusterPrometheusExporter(IResolvable haClusterPrometheusExporter) haClusterPrometheusExporter(CfnApplication.HAClusterPrometheusExporterProperty haClusterPrometheusExporter) hanaPrometheusExporter(IResolvable hanaPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getHanaPrometheusExporter()hanaPrometheusExporter(CfnApplication.HANAPrometheusExporterProperty hanaPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getHanaPrometheusExporter()jmxPrometheusExporter(IResolvable jmxPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getJmxPrometheusExporter()jmxPrometheusExporter(CfnApplication.JMXPrometheusExporterProperty jmxPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getJmxPrometheusExporter()Sets the value ofCfnApplication.ConfigurationDetailsProperty.getLogs()logs(IResolvable logs) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getLogs()netWeaverPrometheusExporter(IResolvable netWeaverPrometheusExporter) netWeaverPrometheusExporter(CfnApplication.NetWeaverPrometheusExporterProperty netWeaverPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getProcesses()processes(IResolvable processes) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getProcesses()sqlServerPrometheusExporter(IResolvable sqlServerPrometheusExporter) sqlServerPrometheusExporter(CfnApplication.SQLServerPrometheusExporterProperty sqlServerPrometheusExporter) windowsEvents(List<? extends Object> windowsEvents) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getWindowsEvents()windowsEvents(IResolvable windowsEvents) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getWindowsEvents()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
alarmMetrics@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder alarmMetrics(IResolvable alarmMetrics) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarmMetrics()- Parameters:
- alarmMetrics- A list of metrics to monitor for the component. All component types can use- AlarmMetrics.
- Returns:
- this
 
- 
alarmMetrics@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder alarmMetrics(List<? extends Object> alarmMetrics) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarmMetrics()- Parameters:
- alarmMetrics- A list of metrics to monitor for the component. All component types can use- AlarmMetrics.
- Returns:
- this
 
- 
alarms@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder alarms(IResolvable alarms) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarms()- Parameters:
- alarms- A list of alarms to monitor for the component. All component types can use- Alarm.
- Returns:
- this
 
- 
alarms@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder alarms(List<? extends Object> alarms) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getAlarms()- Parameters:
- alarms- A list of alarms to monitor for the component. All component types can use- Alarm.
- Returns:
- this
 
- 
haClusterPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder haClusterPrometheusExporter(IResolvable haClusterPrometheusExporter) - Parameters:
- haClusterPrometheusExporter- The HA cluster Prometheus Exporter settings.
- Returns:
- this
 
- 
haClusterPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder haClusterPrometheusExporter(CfnApplication.HAClusterPrometheusExporterProperty haClusterPrometheusExporter) - Parameters:
- haClusterPrometheusExporter- The HA cluster Prometheus Exporter settings.
- Returns:
- this
 
- 
hanaPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder hanaPrometheusExporter(IResolvable hanaPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getHanaPrometheusExporter()- Parameters:
- hanaPrometheusExporter- The HANA DB Prometheus Exporter settings.
- Returns:
- this
 
- 
hanaPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder hanaPrometheusExporter(CfnApplication.HANAPrometheusExporterProperty hanaPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getHanaPrometheusExporter()- Parameters:
- hanaPrometheusExporter- The HANA DB Prometheus Exporter settings.
- Returns:
- this
 
- 
jmxPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder jmxPrometheusExporter(IResolvable jmxPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getJmxPrometheusExporter()- Parameters:
- jmxPrometheusExporter- A list of Java metrics to monitor for the component.
- Returns:
- this
 
- 
jmxPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder jmxPrometheusExporter(CfnApplication.JMXPrometheusExporterProperty jmxPrometheusExporter) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getJmxPrometheusExporter()- Parameters:
- jmxPrometheusExporter- A list of Java metrics to monitor for the component.
- Returns:
- this
 
- 
logs@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder logs(IResolvable logs) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getLogs()- Parameters:
- logs- A list of logs to monitor for the component. Only Amazon EC2 instances can use- Logs.
- Returns:
- this
 
- 
logs@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder logs(List<? extends Object> logs) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getLogs()- Parameters:
- logs- A list of logs to monitor for the component. Only Amazon EC2 instances can use- Logs.
- Returns:
- this
 
- 
netWeaverPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder netWeaverPrometheusExporter(IResolvable netWeaverPrometheusExporter) - Parameters:
- netWeaverPrometheusExporter- The NetWeaver Prometheus Exporter Settings.
- Returns:
- this
 
- 
netWeaverPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder netWeaverPrometheusExporter(CfnApplication.NetWeaverPrometheusExporterProperty netWeaverPrometheusExporter) - Parameters:
- netWeaverPrometheusExporter- The NetWeaver Prometheus Exporter Settings.
- Returns:
- this
 
- 
processes@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder processes(IResolvable processes) Sets the value ofCfnApplication.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 CfnApplication.ConfigurationDetailsProperty.Builder processes(List<? extends Object> processes) Sets the value ofCfnApplication.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 CfnApplication.ConfigurationDetailsProperty.Builder sqlServerPrometheusExporter(IResolvable sqlServerPrometheusExporter) - Parameters:
- sqlServerPrometheusExporter- The SQL prometheus exporter settings.
- Returns:
- this
 
- 
sqlServerPrometheusExporter@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder sqlServerPrometheusExporter(CfnApplication.SQLServerPrometheusExporterProperty sqlServerPrometheusExporter) - Parameters:
- sqlServerPrometheusExporter- The SQL prometheus exporter settings.
- Returns:
- this
 
- 
windowsEvents@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder windowsEvents(IResolvable windowsEvents) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getWindowsEvents()- Parameters:
- windowsEvents- A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can use- WindowsEvents.
- Returns:
- this
 
- 
windowsEvents@Stability(Stable) public CfnApplication.ConfigurationDetailsProperty.Builder windowsEvents(List<? extends Object> windowsEvents) Sets the value ofCfnApplication.ConfigurationDetailsProperty.getWindowsEvents()- Parameters:
- windowsEvents- A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can use- WindowsEvents.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnApplication.ConfigurationDetailsProperty>
- Returns:
- a new instance of CfnApplication.ConfigurationDetailsProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-