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

com.pulumi.azurenative.recoveryservices.inputs.IdentityProviderInputArgs 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.recoveryservices.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;


/**
 * Identity provider input.
 * 
 */
public final class IdentityProviderInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final IdentityProviderInputArgs Empty = new IdentityProviderInputArgs();

    /**
     * The base authority for Azure Active Directory authentication.
     * 
     */
    @Import(name="aadAuthority", required=true)
    private Output aadAuthority;

    /**
     * @return The base authority for Azure Active Directory authentication.
     * 
     */
    public Output aadAuthority() {
        return this.aadAuthority;
    }

    /**
     * The application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    @Import(name="applicationId", required=true)
    private Output applicationId;

    /**
     * @return The application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    public Output applicationId() {
        return this.applicationId;
    }

    /**
     * The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    @Import(name="audience", required=true)
    private Output audience;

    /**
     * @return The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    public Output audience() {
        return this.audience;
    }

    /**
     * The object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    @Import(name="objectId", required=true)
    private Output objectId;

    /**
     * @return The object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    public Output objectId() {
        return this.objectId;
    }

    /**
     * The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    @Import(name="tenantId", required=true)
    private Output tenantId;

    /**
     * @return The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
     * 
     */
    public Output tenantId() {
        return this.tenantId;
    }

    private IdentityProviderInputArgs() {}

    private IdentityProviderInputArgs(IdentityProviderInputArgs $) {
        this.aadAuthority = $.aadAuthority;
        this.applicationId = $.applicationId;
        this.audience = $.audience;
        this.objectId = $.objectId;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private IdentityProviderInputArgs $;

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

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

        /**
         * @param aadAuthority The base authority for Azure Active Directory authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadAuthority(Output aadAuthority) {
            $.aadAuthority = aadAuthority;
            return this;
        }

        /**
         * @param aadAuthority The base authority for Azure Active Directory authentication.
         * 
         * @return builder
         * 
         */
        public Builder aadAuthority(String aadAuthority) {
            return aadAuthority(Output.of(aadAuthority));
        }

        /**
         * @param applicationId The application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(Output applicationId) {
            $.applicationId = applicationId;
            return this;
        }

        /**
         * @param applicationId The application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(String applicationId) {
            return applicationId(Output.of(applicationId));
        }

        /**
         * @param audience The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder audience(Output audience) {
            $.audience = audience;
            return this;
        }

        /**
         * @param audience The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder audience(String audience) {
            return audience(Output.of(audience));
        }

        /**
         * @param objectId The object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder objectId(Output objectId) {
            $.objectId = objectId;
            return this;
        }

        /**
         * @param objectId The object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder objectId(String objectId) {
            return objectId(Output.of(objectId));
        }

        /**
         * @param tenantId The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public IdentityProviderInputArgs build() {
            if ($.aadAuthority == null) {
                throw new MissingRequiredPropertyException("IdentityProviderInputArgs", "aadAuthority");
            }
            if ($.applicationId == null) {
                throw new MissingRequiredPropertyException("IdentityProviderInputArgs", "applicationId");
            }
            if ($.audience == null) {
                throw new MissingRequiredPropertyException("IdentityProviderInputArgs", "audience");
            }
            if ($.objectId == null) {
                throw new MissingRequiredPropertyException("IdentityProviderInputArgs", "objectId");
            }
            if ($.tenantId == null) {
                throw new MissingRequiredPropertyException("IdentityProviderInputArgs", "tenantId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy