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

com.pulumi.azurenative.iotoperations.inputs.GetBrokerAuthenticationPlainArgs 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.iotoperations.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetBrokerAuthenticationPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetBrokerAuthenticationPlainArgs Empty = new GetBrokerAuthenticationPlainArgs();

    /**
     * Name of Instance broker authentication resource
     * 
     */
    @Import(name="authenticationName", required=true)
    private String authenticationName;

    /**
     * @return Name of Instance broker authentication resource
     * 
     */
    public String authenticationName() {
        return this.authenticationName;
    }

    /**
     * Name of broker.
     * 
     */
    @Import(name="brokerName", required=true)
    private String brokerName;

    /**
     * @return Name of broker.
     * 
     */
    public String brokerName() {
        return this.brokerName;
    }

    /**
     * Name of instance.
     * 
     */
    @Import(name="instanceName", required=true)
    private String instanceName;

    /**
     * @return Name of instance.
     * 
     */
    public String instanceName() {
        return this.instanceName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetBrokerAuthenticationPlainArgs() {}

    private GetBrokerAuthenticationPlainArgs(GetBrokerAuthenticationPlainArgs $) {
        this.authenticationName = $.authenticationName;
        this.brokerName = $.brokerName;
        this.instanceName = $.instanceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetBrokerAuthenticationPlainArgs $;

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

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

        /**
         * @param authenticationName Name of Instance broker authentication resource
         * 
         * @return builder
         * 
         */
        public Builder authenticationName(String authenticationName) {
            $.authenticationName = authenticationName;
            return this;
        }

        /**
         * @param brokerName Name of broker.
         * 
         * @return builder
         * 
         */
        public Builder brokerName(String brokerName) {
            $.brokerName = brokerName;
            return this;
        }

        /**
         * @param instanceName Name of instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceName(String instanceName) {
            $.instanceName = instanceName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetBrokerAuthenticationPlainArgs build() {
            if ($.authenticationName == null) {
                throw new MissingRequiredPropertyException("GetBrokerAuthenticationPlainArgs", "authenticationName");
            }
            if ($.brokerName == null) {
                throw new MissingRequiredPropertyException("GetBrokerAuthenticationPlainArgs", "brokerName");
            }
            if ($.instanceName == null) {
                throw new MissingRequiredPropertyException("GetBrokerAuthenticationPlainArgs", "instanceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetBrokerAuthenticationPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy