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

com.pulumi.azurenative.iotoperationsmq.outputs.KafkaRemoteBrokerConnectionTlsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.iotoperationsmq.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class KafkaRemoteBrokerConnectionTlsResponse {
    /**
     * @return Tls Enabled on Remote Broker Connection.
     * 
     */
    private Boolean tlsEnabled;
    /**
     * @return Trusted CA certificate name for Remote Broker.
     * 
     */
    private @Nullable String trustedCaCertificateConfigMap;

    private KafkaRemoteBrokerConnectionTlsResponse() {}
    /**
     * @return Tls Enabled on Remote Broker Connection.
     * 
     */
    public Boolean tlsEnabled() {
        return this.tlsEnabled;
    }
    /**
     * @return Trusted CA certificate name for Remote Broker.
     * 
     */
    public Optional trustedCaCertificateConfigMap() {
        return Optional.ofNullable(this.trustedCaCertificateConfigMap);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(KafkaRemoteBrokerConnectionTlsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean tlsEnabled;
        private @Nullable String trustedCaCertificateConfigMap;
        public Builder() {}
        public Builder(KafkaRemoteBrokerConnectionTlsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.tlsEnabled = defaults.tlsEnabled;
    	      this.trustedCaCertificateConfigMap = defaults.trustedCaCertificateConfigMap;
        }

        @CustomType.Setter
        public Builder tlsEnabled(Boolean tlsEnabled) {
            if (tlsEnabled == null) {
              throw new MissingRequiredPropertyException("KafkaRemoteBrokerConnectionTlsResponse", "tlsEnabled");
            }
            this.tlsEnabled = tlsEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder trustedCaCertificateConfigMap(@Nullable String trustedCaCertificateConfigMap) {

            this.trustedCaCertificateConfigMap = trustedCaCertificateConfigMap;
            return this;
        }
        public KafkaRemoteBrokerConnectionTlsResponse build() {
            final var _resultValue = new KafkaRemoteBrokerConnectionTlsResponse();
            _resultValue.tlsEnabled = tlsEnabled;
            _resultValue.trustedCaCertificateConfigMap = trustedCaCertificateConfigMap;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy