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

com.pulumi.azurenative.iotoperations.inputs.BrokerAuthenticatorCustomAuthArgs Maven / Gradle / Ivy

The 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.iotoperations.inputs;

import com.pulumi.azurenative.iotoperations.inputs.X509ManualCertificateArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


/**
 * Custom Authentication properties
 * 
 */
public final class BrokerAuthenticatorCustomAuthArgs extends com.pulumi.resources.ResourceArgs {

    public static final BrokerAuthenticatorCustomAuthArgs Empty = new BrokerAuthenticatorCustomAuthArgs();

    /**
     * X509 Custom Auth type details.
     * 
     */
    @Import(name="x509", required=true)
    private Output x509;

    /**
     * @return X509 Custom Auth type details.
     * 
     */
    public Output x509() {
        return this.x509;
    }

    private BrokerAuthenticatorCustomAuthArgs() {}

    private BrokerAuthenticatorCustomAuthArgs(BrokerAuthenticatorCustomAuthArgs $) {
        this.x509 = $.x509;
    }

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

    public static final class Builder {
        private BrokerAuthenticatorCustomAuthArgs $;

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

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

        /**
         * @param x509 X509 Custom Auth type details.
         * 
         * @return builder
         * 
         */
        public Builder x509(Output x509) {
            $.x509 = x509;
            return this;
        }

        /**
         * @param x509 X509 Custom Auth type details.
         * 
         * @return builder
         * 
         */
        public Builder x509(X509ManualCertificateArgs x509) {
            return x509(Output.of(x509));
        }

        public BrokerAuthenticatorCustomAuthArgs build() {
            if ($.x509 == null) {
                throw new MissingRequiredPropertyException("BrokerAuthenticatorCustomAuthArgs", "x509");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy