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

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

import com.pulumi.azurenative.iotoperationsmq.inputs.ManagedIdentityAuthenticationArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.MqttBridgeRemoteBrokerX509AuthenticationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * MqttBridge RemoteBrokerConnection Authentication methods. NOTE - Enum only one is allowed to be passed.
 * 
 */
public final class MqttBridgeRemoteBrokerAuthenticationMethodsArgs extends com.pulumi.resources.ResourceArgs {

    public static final MqttBridgeRemoteBrokerAuthenticationMethodsArgs Empty = new MqttBridgeRemoteBrokerAuthenticationMethodsArgs();

    /**
     * Managed identity remote broker authentication method.
     * 
     */
    @Import(name="systemAssignedManagedIdentity")
    private @Nullable Output systemAssignedManagedIdentity;

    /**
     * @return Managed identity remote broker authentication method.
     * 
     */
    public Optional> systemAssignedManagedIdentity() {
        return Optional.ofNullable(this.systemAssignedManagedIdentity);
    }

    /**
     * X509 remote broker authentication method.
     * 
     */
    @Import(name="x509")
    private @Nullable Output x509;

    /**
     * @return X509 remote broker authentication method.
     * 
     */
    public Optional> x509() {
        return Optional.ofNullable(this.x509);
    }

    private MqttBridgeRemoteBrokerAuthenticationMethodsArgs() {}

    private MqttBridgeRemoteBrokerAuthenticationMethodsArgs(MqttBridgeRemoteBrokerAuthenticationMethodsArgs $) {
        this.systemAssignedManagedIdentity = $.systemAssignedManagedIdentity;
        this.x509 = $.x509;
    }

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

    public static final class Builder {
        private MqttBridgeRemoteBrokerAuthenticationMethodsArgs $;

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

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

        /**
         * @param systemAssignedManagedIdentity Managed identity remote broker authentication method.
         * 
         * @return builder
         * 
         */
        public Builder systemAssignedManagedIdentity(@Nullable Output systemAssignedManagedIdentity) {
            $.systemAssignedManagedIdentity = systemAssignedManagedIdentity;
            return this;
        }

        /**
         * @param systemAssignedManagedIdentity Managed identity remote broker authentication method.
         * 
         * @return builder
         * 
         */
        public Builder systemAssignedManagedIdentity(ManagedIdentityAuthenticationArgs systemAssignedManagedIdentity) {
            return systemAssignedManagedIdentity(Output.of(systemAssignedManagedIdentity));
        }

        /**
         * @param x509 X509 remote broker authentication method.
         * 
         * @return builder
         * 
         */
        public Builder x509(@Nullable Output x509) {
            $.x509 = x509;
            return this;
        }

        /**
         * @param x509 X509 remote broker authentication method.
         * 
         * @return builder
         * 
         */
        public Builder x509(MqttBridgeRemoteBrokerX509AuthenticationArgs x509) {
            return x509(Output.of(x509));
        }

        public MqttBridgeRemoteBrokerAuthenticationMethodsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy