Class CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty>
- Enclosing interface:
CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.prometheusPort(String prometheusPort)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
prometheusPort
@Stability(Stable) public CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty.Builder prometheusPort(String prometheusPort) - Parameters:
prometheusPort- The target port to which Prometheus sends metrics. If not specified, the default port 9668 is used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.HAClusterPrometheusExporterProperty - Throws:
NullPointerException- if any required attribute was not provided
-