
com.pulumi.azurenative.workloads.outputs.PrometheusHaClusterProviderInstancePropertiesResponse 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.azurenative.workloads.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PrometheusHaClusterProviderInstancePropertiesResponse {
/**
* @return Gets or sets the clusterName.
*
*/
private @Nullable String clusterName;
/**
* @return Gets or sets the target machine name.
*
*/
private @Nullable String hostname;
/**
* @return URL of the Node Exporter endpoint.
*
*/
private @Nullable String prometheusUrl;
/**
* @return The provider type. For example, the value can be SapHana.
* Expected value is 'PrometheusHaCluster'.
*
*/
private String providerType;
/**
* @return Gets or sets the cluster sid.
*
*/
private @Nullable String sid;
/**
* @return Gets or sets the blob URI to SSL certificate for the HA cluster exporter.
*
*/
private @Nullable String sslCertificateUri;
/**
* @return Gets or sets certificate preference if secure communication is enabled.
*
*/
private @Nullable String sslPreference;
private PrometheusHaClusterProviderInstancePropertiesResponse() {}
/**
* @return Gets or sets the clusterName.
*
*/
public Optional clusterName() {
return Optional.ofNullable(this.clusterName);
}
/**
* @return Gets or sets the target machine name.
*
*/
public Optional hostname() {
return Optional.ofNullable(this.hostname);
}
/**
* @return URL of the Node Exporter endpoint.
*
*/
public Optional prometheusUrl() {
return Optional.ofNullable(this.prometheusUrl);
}
/**
* @return The provider type. For example, the value can be SapHana.
* Expected value is 'PrometheusHaCluster'.
*
*/
public String providerType() {
return this.providerType;
}
/**
* @return Gets or sets the cluster sid.
*
*/
public Optional sid() {
return Optional.ofNullable(this.sid);
}
/**
* @return Gets or sets the blob URI to SSL certificate for the HA cluster exporter.
*
*/
public Optional sslCertificateUri() {
return Optional.ofNullable(this.sslCertificateUri);
}
/**
* @return Gets or sets certificate preference if secure communication is enabled.
*
*/
public Optional sslPreference() {
return Optional.ofNullable(this.sslPreference);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrometheusHaClusterProviderInstancePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clusterName;
private @Nullable String hostname;
private @Nullable String prometheusUrl;
private String providerType;
private @Nullable String sid;
private @Nullable String sslCertificateUri;
private @Nullable String sslPreference;
public Builder() {}
public Builder(PrometheusHaClusterProviderInstancePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.clusterName = defaults.clusterName;
this.hostname = defaults.hostname;
this.prometheusUrl = defaults.prometheusUrl;
this.providerType = defaults.providerType;
this.sid = defaults.sid;
this.sslCertificateUri = defaults.sslCertificateUri;
this.sslPreference = defaults.sslPreference;
}
@CustomType.Setter
public Builder clusterName(@Nullable String clusterName) {
this.clusterName = clusterName;
return this;
}
@CustomType.Setter
public Builder hostname(@Nullable String hostname) {
this.hostname = hostname;
return this;
}
@CustomType.Setter
public Builder prometheusUrl(@Nullable String prometheusUrl) {
this.prometheusUrl = prometheusUrl;
return this;
}
@CustomType.Setter
public Builder providerType(String providerType) {
if (providerType == null) {
throw new MissingRequiredPropertyException("PrometheusHaClusterProviderInstancePropertiesResponse", "providerType");
}
this.providerType = providerType;
return this;
}
@CustomType.Setter
public Builder sid(@Nullable String sid) {
this.sid = sid;
return this;
}
@CustomType.Setter
public Builder sslCertificateUri(@Nullable String sslCertificateUri) {
this.sslCertificateUri = sslCertificateUri;
return this;
}
@CustomType.Setter
public Builder sslPreference(@Nullable String sslPreference) {
this.sslPreference = sslPreference;
return this;
}
public PrometheusHaClusterProviderInstancePropertiesResponse build() {
final var _resultValue = new PrometheusHaClusterProviderInstancePropertiesResponse();
_resultValue.clusterName = clusterName;
_resultValue.hostname = hostname;
_resultValue.prometheusUrl = prometheusUrl;
_resultValue.providerType = providerType;
_resultValue.sid = sid;
_resultValue.sslCertificateUri = sslCertificateUri;
_resultValue.sslPreference = sslPreference;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy