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

com.pulumi.azurenative.web.inputs.ConsentLinkParameterDefinition Maven / Gradle / Ivy

There is a newer version: 2.78.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.web.inputs;

import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Consent link definition
 * 
 */
public final class ConsentLinkParameterDefinition extends com.pulumi.resources.InvokeArgs {

    public static final ConsentLinkParameterDefinition Empty = new ConsentLinkParameterDefinition();

    /**
     * AAD OID (user or group) if the principal type is ActiveDirectory. MSA PUID if the principal type is MicrosoftAccount
     * 
     */
    @Import(name="objectId")
    private @Nullable String objectId;

    /**
     * @return AAD OID (user or group) if the principal type is ActiveDirectory. MSA PUID if the principal type is MicrosoftAccount
     * 
     */
    public Optional objectId() {
        return Optional.ofNullable(this.objectId);
    }

    /**
     * Name of the parameter in the connection provider's OAuth settings
     * 
     */
    @Import(name="parameterName")
    private @Nullable String parameterName;

    /**
     * @return Name of the parameter in the connection provider's OAuth settings
     * 
     */
    public Optional parameterName() {
        return Optional.ofNullable(this.parameterName);
    }

    /**
     * Name of the parameter in the connection provider's OAuth settings
     * 
     */
    @Import(name="redirectUrl")
    private @Nullable String redirectUrl;

    /**
     * @return Name of the parameter in the connection provider's OAuth settings
     * 
     */
    public Optional redirectUrl() {
        return Optional.ofNullable(this.redirectUrl);
    }

    /**
     * The tenant id
     * 
     */
    @Import(name="tenantId")
    private @Nullable String tenantId;

    /**
     * @return The tenant id
     * 
     */
    public Optional tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private ConsentLinkParameterDefinition() {}

    private ConsentLinkParameterDefinition(ConsentLinkParameterDefinition $) {
        this.objectId = $.objectId;
        this.parameterName = $.parameterName;
        this.redirectUrl = $.redirectUrl;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private ConsentLinkParameterDefinition $;

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

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

        /**
         * @param objectId AAD OID (user or group) if the principal type is ActiveDirectory. MSA PUID if the principal type is MicrosoftAccount
         * 
         * @return builder
         * 
         */
        public Builder objectId(@Nullable String objectId) {
            $.objectId = objectId;
            return this;
        }

        /**
         * @param parameterName Name of the parameter in the connection provider's OAuth settings
         * 
         * @return builder
         * 
         */
        public Builder parameterName(@Nullable String parameterName) {
            $.parameterName = parameterName;
            return this;
        }

        /**
         * @param redirectUrl Name of the parameter in the connection provider's OAuth settings
         * 
         * @return builder
         * 
         */
        public Builder redirectUrl(@Nullable String redirectUrl) {
            $.redirectUrl = redirectUrl;
            return this;
        }

        /**
         * @param tenantId The tenant id
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable String tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        public ConsentLinkParameterDefinition build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy