Class CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty>
- Enclosing interface:
CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.prometheusPort(String prometheusPort) sqlSecretName(String sqlSecretName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
prometheusPort
@Stability(Stable) public CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty.Builder prometheusPort(String prometheusPort) - Parameters:
prometheusPort- Prometheus exporter port.- Returns:
this
-
sqlSecretName
@Stability(Stable) public CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty.Builder sqlSecretName(String sqlSecretName) - Parameters:
sqlSecretName- Secret name which managers SQL exporter connection. e.g. {"data_source_name": "sqlserver://: @localhost:1433"} - Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.SQLServerPrometheusExporterProperty - Throws:
NullPointerException- if any required attribute was not provided
-