Class CfnApplication.NetWeaverPrometheusExporterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.NetWeaverPrometheusExporterProperty>
- Enclosing interface:
CfnApplication.NetWeaverPrometheusExporterProperty
@Stability(Stable)
public static final class CfnApplication.NetWeaverPrometheusExporterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.NetWeaverPrometheusExporterProperty>
A builder for
CfnApplication.NetWeaverPrometheusExporterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceNumbers(List<String> instanceNumbers) Sets the value ofCfnApplication.NetWeaverPrometheusExporterProperty.getInstanceNumbers()prometheusPort(String prometheusPort) Sets the value ofCfnApplication.NetWeaverPrometheusExporterProperty.getPrometheusPort()Sets the value ofCfnApplication.NetWeaverPrometheusExporterProperty.getSapsid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceNumbers
@Stability(Stable) public CfnApplication.NetWeaverPrometheusExporterProperty.Builder instanceNumbers(List<String> instanceNumbers) Sets the value ofCfnApplication.NetWeaverPrometheusExporterProperty.getInstanceNumbers()- Parameters:
instanceNumbers- SAP instance numbers for ASCS, ERS, and App Servers. This parameter is required.- Returns:
this
-
sapsid
@Stability(Stable) public CfnApplication.NetWeaverPrometheusExporterProperty.Builder sapsid(String sapsid) Sets the value ofCfnApplication.NetWeaverPrometheusExporterProperty.getSapsid()- Parameters:
sapsid- SAP NetWeaver SID. This parameter is required.- Returns:
this
-
prometheusPort
@Stability(Stable) public CfnApplication.NetWeaverPrometheusExporterProperty.Builder prometheusPort(String prometheusPort) Sets the value ofCfnApplication.NetWeaverPrometheusExporterProperty.getPrometheusPort()- Parameters:
prometheusPort- Prometheus exporter port.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.NetWeaverPrometheusExporterProperty>- Returns:
- a new instance of
CfnApplication.NetWeaverPrometheusExporterProperty - Throws:
NullPointerException- if any required attribute was not provided
-