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

com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodX509Args 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.iotoperationsmq.inputs;

import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodX509AttributesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * X509 for BrokerAuthentication.
 * 
 */
public final class BrokerAuthenticatorMethodX509Args extends com.pulumi.resources.ResourceArgs {

    public static final BrokerAuthenticatorMethodX509Args Empty = new BrokerAuthenticatorMethodX509Args();

    /**
     * K8S Secret name to mount for username and password.
     * 
     */
    @Import(name="attributes")
    private @Nullable Output attributes;

    /**
     * @return K8S Secret name to mount for username and password.
     * 
     */
    public Optional> attributes() {
        return Optional.ofNullable(this.attributes);
    }

    /**
     * Trusted client ca cert config map.
     * 
     */
    @Import(name="trustedClientCaCertConfigMap")
    private @Nullable Output trustedClientCaCertConfigMap;

    /**
     * @return Trusted client ca cert config map.
     * 
     */
    public Optional> trustedClientCaCertConfigMap() {
        return Optional.ofNullable(this.trustedClientCaCertConfigMap);
    }

    private BrokerAuthenticatorMethodX509Args() {}

    private BrokerAuthenticatorMethodX509Args(BrokerAuthenticatorMethodX509Args $) {
        this.attributes = $.attributes;
        this.trustedClientCaCertConfigMap = $.trustedClientCaCertConfigMap;
    }

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

    public static final class Builder {
        private BrokerAuthenticatorMethodX509Args $;

        public Builder() {
            $ = new BrokerAuthenticatorMethodX509Args();
        }

        public Builder(BrokerAuthenticatorMethodX509Args defaults) {
            $ = new BrokerAuthenticatorMethodX509Args(Objects.requireNonNull(defaults));
        }

        /**
         * @param attributes K8S Secret name to mount for username and password.
         * 
         * @return builder
         * 
         */
        public Builder attributes(@Nullable Output attributes) {
            $.attributes = attributes;
            return this;
        }

        /**
         * @param attributes K8S Secret name to mount for username and password.
         * 
         * @return builder
         * 
         */
        public Builder attributes(BrokerAuthenticatorMethodX509AttributesArgs attributes) {
            return attributes(Output.of(attributes));
        }

        /**
         * @param trustedClientCaCertConfigMap Trusted client ca cert config map.
         * 
         * @return builder
         * 
         */
        public Builder trustedClientCaCertConfigMap(@Nullable Output trustedClientCaCertConfigMap) {
            $.trustedClientCaCertConfigMap = trustedClientCaCertConfigMap;
            return this;
        }

        /**
         * @param trustedClientCaCertConfigMap Trusted client ca cert config map.
         * 
         * @return builder
         * 
         */
        public Builder trustedClientCaCertConfigMap(String trustedClientCaCertConfigMap) {
            return trustedClientCaCertConfigMap(Output.of(trustedClientCaCertConfigMap));
        }

        public BrokerAuthenticatorMethodX509Args build() {
            $.trustedClientCaCertConfigMap = Codegen.stringProp("trustedClientCaCertConfigMap").output().arg($.trustedClientCaCertConfigMap).def("client-ca").getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy