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

com.pulumi.azurenative.community.inputs.IdentityConfigurationPropertiesArgs 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.community.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Details of the Community CommunityTraining Identity Configuration
 * 
 */
public final class IdentityConfigurationPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final IdentityConfigurationPropertiesArgs Empty = new IdentityConfigurationPropertiesArgs();

    /**
     * The name of the authentication policy registered in ADB2C for the Community Training Resource
     * 
     */
    @Import(name="b2cAuthenticationPolicy")
    private @Nullable Output b2cAuthenticationPolicy;

    /**
     * @return The name of the authentication policy registered in ADB2C for the Community Training Resource
     * 
     */
    public Optional> b2cAuthenticationPolicy() {
        return Optional.ofNullable(this.b2cAuthenticationPolicy);
    }

    /**
     * The name of the password reset policy registered in ADB2C for the Community Training Resource
     * 
     */
    @Import(name="b2cPasswordResetPolicy")
    private @Nullable Output b2cPasswordResetPolicy;

    /**
     * @return The name of the password reset policy registered in ADB2C for the Community Training Resource
     * 
     */
    public Optional> b2cPasswordResetPolicy() {
        return Optional.ofNullable(this.b2cPasswordResetPolicy);
    }

    /**
     * The clientId of the application registered in the selected identity provider for the Community Training Resource
     * 
     */
    @Import(name="clientId", required=true)
    private Output clientId;

    /**
     * @return The clientId of the application registered in the selected identity provider for the Community Training Resource
     * 
     */
    public Output clientId() {
        return this.clientId;
    }

    /**
     * The client secret of the application registered in the selected identity provider for the Community Training Resource
     * 
     */
    @Import(name="clientSecret", required=true)
    private Output clientSecret;

    /**
     * @return The client secret of the application registered in the selected identity provider for the Community Training Resource
     * 
     */
    public Output clientSecret() {
        return this.clientSecret;
    }

    /**
     * The custom login parameters for the Community Training Resource
     * 
     */
    @Import(name="customLoginParameters")
    private @Nullable Output customLoginParameters;

    /**
     * @return The custom login parameters for the Community Training Resource
     * 
     */
    public Optional> customLoginParameters() {
        return Optional.ofNullable(this.customLoginParameters);
    }

    /**
     * The domain name of the selected identity provider for the Community Training Resource
     * 
     */
    @Import(name="domainName", required=true)
    private Output domainName;

    /**
     * @return The domain name of the selected identity provider for the Community Training Resource
     * 
     */
    public Output domainName() {
        return this.domainName;
    }

    /**
     * The identity type of the Community Training Resource
     * 
     */
    @Import(name="identityType", required=true)
    private Output identityType;

    /**
     * @return The identity type of the Community Training Resource
     * 
     */
    public Output identityType() {
        return this.identityType;
    }

    /**
     * To indicate whether the Community Training Resource has Teams enabled
     * 
     */
    @Import(name="teamsEnabled")
    private @Nullable Output teamsEnabled;

    /**
     * @return To indicate whether the Community Training Resource has Teams enabled
     * 
     */
    public Optional> teamsEnabled() {
        return Optional.ofNullable(this.teamsEnabled);
    }

    /**
     * The tenantId of the selected identity provider for the Community Training Resource
     * 
     */
    @Import(name="tenantId", required=true)
    private Output tenantId;

    /**
     * @return The tenantId of the selected identity provider for the Community Training Resource
     * 
     */
    public Output tenantId() {
        return this.tenantId;
    }

    private IdentityConfigurationPropertiesArgs() {}

    private IdentityConfigurationPropertiesArgs(IdentityConfigurationPropertiesArgs $) {
        this.b2cAuthenticationPolicy = $.b2cAuthenticationPolicy;
        this.b2cPasswordResetPolicy = $.b2cPasswordResetPolicy;
        this.clientId = $.clientId;
        this.clientSecret = $.clientSecret;
        this.customLoginParameters = $.customLoginParameters;
        this.domainName = $.domainName;
        this.identityType = $.identityType;
        this.teamsEnabled = $.teamsEnabled;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private IdentityConfigurationPropertiesArgs $;

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

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

        /**
         * @param b2cAuthenticationPolicy The name of the authentication policy registered in ADB2C for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder b2cAuthenticationPolicy(@Nullable Output b2cAuthenticationPolicy) {
            $.b2cAuthenticationPolicy = b2cAuthenticationPolicy;
            return this;
        }

        /**
         * @param b2cAuthenticationPolicy The name of the authentication policy registered in ADB2C for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder b2cAuthenticationPolicy(String b2cAuthenticationPolicy) {
            return b2cAuthenticationPolicy(Output.of(b2cAuthenticationPolicy));
        }

        /**
         * @param b2cPasswordResetPolicy The name of the password reset policy registered in ADB2C for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder b2cPasswordResetPolicy(@Nullable Output b2cPasswordResetPolicy) {
            $.b2cPasswordResetPolicy = b2cPasswordResetPolicy;
            return this;
        }

        /**
         * @param b2cPasswordResetPolicy The name of the password reset policy registered in ADB2C for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder b2cPasswordResetPolicy(String b2cPasswordResetPolicy) {
            return b2cPasswordResetPolicy(Output.of(b2cPasswordResetPolicy));
        }

        /**
         * @param clientId The clientId of the application registered in the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder clientId(Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId The clientId of the application registered in the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param clientSecret The client secret of the application registered in the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder clientSecret(Output clientSecret) {
            $.clientSecret = clientSecret;
            return this;
        }

        /**
         * @param clientSecret The client secret of the application registered in the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder clientSecret(String clientSecret) {
            return clientSecret(Output.of(clientSecret));
        }

        /**
         * @param customLoginParameters The custom login parameters for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder customLoginParameters(@Nullable Output customLoginParameters) {
            $.customLoginParameters = customLoginParameters;
            return this;
        }

        /**
         * @param customLoginParameters The custom login parameters for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder customLoginParameters(String customLoginParameters) {
            return customLoginParameters(Output.of(customLoginParameters));
        }

        /**
         * @param domainName The domain name of the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder domainName(Output domainName) {
            $.domainName = domainName;
            return this;
        }

        /**
         * @param domainName The domain name of the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder domainName(String domainName) {
            return domainName(Output.of(domainName));
        }

        /**
         * @param identityType The identity type of the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder identityType(Output identityType) {
            $.identityType = identityType;
            return this;
        }

        /**
         * @param identityType The identity type of the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder identityType(String identityType) {
            return identityType(Output.of(identityType));
        }

        /**
         * @param teamsEnabled To indicate whether the Community Training Resource has Teams enabled
         * 
         * @return builder
         * 
         */
        public Builder teamsEnabled(@Nullable Output teamsEnabled) {
            $.teamsEnabled = teamsEnabled;
            return this;
        }

        /**
         * @param teamsEnabled To indicate whether the Community Training Resource has Teams enabled
         * 
         * @return builder
         * 
         */
        public Builder teamsEnabled(Boolean teamsEnabled) {
            return teamsEnabled(Output.of(teamsEnabled));
        }

        /**
         * @param tenantId The tenantId of the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder tenantId(Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId The tenantId of the selected identity provider for the Community Training Resource
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public IdentityConfigurationPropertiesArgs build() {
            if ($.clientId == null) {
                throw new MissingRequiredPropertyException("IdentityConfigurationPropertiesArgs", "clientId");
            }
            if ($.clientSecret == null) {
                throw new MissingRequiredPropertyException("IdentityConfigurationPropertiesArgs", "clientSecret");
            }
            if ($.domainName == null) {
                throw new MissingRequiredPropertyException("IdentityConfigurationPropertiesArgs", "domainName");
            }
            if ($.identityType == null) {
                throw new MissingRequiredPropertyException("IdentityConfigurationPropertiesArgs", "identityType");
            }
            $.teamsEnabled = Codegen.booleanProp("teamsEnabled").output().arg($.teamsEnabled).def(false).getNullable();
            if ($.tenantId == null) {
                throw new MissingRequiredPropertyException("IdentityConfigurationPropertiesArgs", "tenantId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy