All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.workloads.outputs.PrometheusOSProviderInstancePropertiesResponse 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 PrometheusOSProviderInstancePropertiesResponse {
    /**
     * @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 'PrometheusOS'.
     * 
     */
    private String providerType;
    /**
     * @return Gets or sets the SAP System Identifier
     * 
     */
    private @Nullable String sapSid;
    /**
     * @return Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
     * 
     */
    private @Nullable String sslCertificateUri;
    /**
     * @return Gets or sets certificate preference if secure communication is enabled.
     * 
     */
    private @Nullable String sslPreference;

    private PrometheusOSProviderInstancePropertiesResponse() {}
    /**
     * @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 'PrometheusOS'.
     * 
     */
    public String providerType() {
        return this.providerType;
    }
    /**
     * @return Gets or sets the SAP System Identifier
     * 
     */
    public Optional sapSid() {
        return Optional.ofNullable(this.sapSid);
    }
    /**
     * @return Gets or sets the blob URI to SSL certificate for the prometheus node 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(PrometheusOSProviderInstancePropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String prometheusUrl;
        private String providerType;
        private @Nullable String sapSid;
        private @Nullable String sslCertificateUri;
        private @Nullable String sslPreference;
        public Builder() {}
        public Builder(PrometheusOSProviderInstancePropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.prometheusUrl = defaults.prometheusUrl;
    	      this.providerType = defaults.providerType;
    	      this.sapSid = defaults.sapSid;
    	      this.sslCertificateUri = defaults.sslCertificateUri;
    	      this.sslPreference = defaults.sslPreference;
        }

        @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("PrometheusOSProviderInstancePropertiesResponse", "providerType");
            }
            this.providerType = providerType;
            return this;
        }
        @CustomType.Setter
        public Builder sapSid(@Nullable String sapSid) {

            this.sapSid = sapSid;
            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 PrometheusOSProviderInstancePropertiesResponse build() {
            final var _resultValue = new PrometheusOSProviderInstancePropertiesResponse();
            _resultValue.prometheusUrl = prometheusUrl;
            _resultValue.providerType = providerType;
            _resultValue.sapSid = sapSid;
            _resultValue.sslCertificateUri = sslCertificateUri;
            _resultValue.sslPreference = sslPreference;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy