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

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

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


/**
 * DataFlowEndpoint Authentication UserAssignedManagedIdentity properties
 * 
 */
public final class DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs Empty = new DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs();

    /**
     * Resource identifier (application ID URI) of the resource, affixed with the .default suffix.
     * 
     */
    @Import(name="audience", required=true)
    private Output audience;

    /**
     * @return Resource identifier (application ID URI) of the resource, affixed with the .default suffix.
     * 
     */
    public Output audience() {
        return this.audience;
    }

    /**
     * Client ID for the user-assigned managed identity.
     * 
     */
    @Import(name="clientId", required=true)
    private Output clientId;

    /**
     * @return Client ID for the user-assigned managed identity.
     * 
     */
    public Output clientId() {
        return this.clientId;
    }

    /**
     * Tenant ID.
     * 
     */
    @Import(name="tenantId", required=true)
    private Output tenantId;

    /**
     * @return Tenant ID.
     * 
     */
    public Output tenantId() {
        return this.tenantId;
    }

    private DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs() {}

    private DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs(DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs $) {
        this.audience = $.audience;
        this.clientId = $.clientId;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs $;

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

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

        /**
         * @param audience Resource identifier (application ID URI) of the resource, affixed with the .default suffix.
         * 
         * @return builder
         * 
         */
        public Builder audience(Output audience) {
            $.audience = audience;
            return this;
        }

        /**
         * @param audience Resource identifier (application ID URI) of the resource, affixed with the .default suffix.
         * 
         * @return builder
         * 
         */
        public Builder audience(String audience) {
            return audience(Output.of(audience));
        }

        /**
         * @param clientId Client ID for the user-assigned managed identity.
         * 
         * @return builder
         * 
         */
        public Builder clientId(Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId Client ID for the user-assigned managed identity.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param tenantId Tenant ID.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId Tenant ID.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs build() {
            if ($.audience == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs", "audience");
            }
            if ($.clientId == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs", "clientId");
            }
            if ($.tenantId == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointAuthenticationUserAssignedManagedIdentityArgs", "tenantId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy