com.pulumi.aws.msk.outputs.ClusterOpenMonitoringPrometheus Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.msk.outputs;
import com.pulumi.aws.msk.outputs.ClusterOpenMonitoringPrometheusJmxExporter;
import com.pulumi.aws.msk.outputs.ClusterOpenMonitoringPrometheusNodeExporter;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterOpenMonitoringPrometheus {
/**
* @return Configuration block for JMX Exporter. See below.
*
*/
private @Nullable ClusterOpenMonitoringPrometheusJmxExporter jmxExporter;
/**
* @return Configuration block for Node Exporter. See below.
*
*/
private @Nullable ClusterOpenMonitoringPrometheusNodeExporter nodeExporter;
private ClusterOpenMonitoringPrometheus() {}
/**
* @return Configuration block for JMX Exporter. See below.
*
*/
public Optional jmxExporter() {
return Optional.ofNullable(this.jmxExporter);
}
/**
* @return Configuration block for Node Exporter. See below.
*
*/
public Optional nodeExporter() {
return Optional.ofNullable(this.nodeExporter);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterOpenMonitoringPrometheus defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ClusterOpenMonitoringPrometheusJmxExporter jmxExporter;
private @Nullable ClusterOpenMonitoringPrometheusNodeExporter nodeExporter;
public Builder() {}
public Builder(ClusterOpenMonitoringPrometheus defaults) {
Objects.requireNonNull(defaults);
this.jmxExporter = defaults.jmxExporter;
this.nodeExporter = defaults.nodeExporter;
}
@CustomType.Setter
public Builder jmxExporter(@Nullable ClusterOpenMonitoringPrometheusJmxExporter jmxExporter) {
this.jmxExporter = jmxExporter;
return this;
}
@CustomType.Setter
public Builder nodeExporter(@Nullable ClusterOpenMonitoringPrometheusNodeExporter nodeExporter) {
this.nodeExporter = nodeExporter;
return this;
}
public ClusterOpenMonitoringPrometheus build() {
final var _resultValue = new ClusterOpenMonitoringPrometheus();
_resultValue.jmxExporter = jmxExporter;
_resultValue.nodeExporter = nodeExporter;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy