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

com.pulumi.keycloak.ldap.inputs.HardcodedAttributeMapperState Maven / Gradle / Ivy

The 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.keycloak.ldap.inputs;

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


public final class HardcodedAttributeMapperState extends com.pulumi.resources.ResourceArgs {

    public static final HardcodedAttributeMapperState Empty = new HardcodedAttributeMapperState();

    /**
     * The name of the LDAP attribute to set.
     * 
     */
    @Import(name="attributeName")
    private @Nullable Output attributeName;

    /**
     * @return The name of the LDAP attribute to set.
     * 
     */
    public Optional> attributeName() {
        return Optional.ofNullable(this.attributeName);
    }

    /**
     * The value to set to the LDAP attribute. You can hardcode any value like 'foo'.
     * 
     */
    @Import(name="attributeValue")
    private @Nullable Output attributeValue;

    /**
     * @return The value to set to the LDAP attribute. You can hardcode any value like 'foo'.
     * 
     */
    public Optional> attributeValue() {
        return Optional.ofNullable(this.attributeValue);
    }

    /**
     * The ID of the LDAP user federation provider to attach this mapper to.
     * 
     */
    @Import(name="ldapUserFederationId")
    private @Nullable Output ldapUserFederationId;

    /**
     * @return The ID of the LDAP user federation provider to attach this mapper to.
     * 
     */
    public Optional> ldapUserFederationId() {
        return Optional.ofNullable(this.ldapUserFederationId);
    }

    /**
     * Display name of this mapper when displayed in the console.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Display name of this mapper when displayed in the console.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The realm that this LDAP mapper will exist in.
     * 
     */
    @Import(name="realmId")
    private @Nullable Output realmId;

    /**
     * @return The realm that this LDAP mapper will exist in.
     * 
     */
    public Optional> realmId() {
        return Optional.ofNullable(this.realmId);
    }

    private HardcodedAttributeMapperState() {}

    private HardcodedAttributeMapperState(HardcodedAttributeMapperState $) {
        this.attributeName = $.attributeName;
        this.attributeValue = $.attributeValue;
        this.ldapUserFederationId = $.ldapUserFederationId;
        this.name = $.name;
        this.realmId = $.realmId;
    }

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

    public static final class Builder {
        private HardcodedAttributeMapperState $;

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

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

        /**
         * @param attributeName The name of the LDAP attribute to set.
         * 
         * @return builder
         * 
         */
        public Builder attributeName(@Nullable Output attributeName) {
            $.attributeName = attributeName;
            return this;
        }

        /**
         * @param attributeName The name of the LDAP attribute to set.
         * 
         * @return builder
         * 
         */
        public Builder attributeName(String attributeName) {
            return attributeName(Output.of(attributeName));
        }

        /**
         * @param attributeValue The value to set to the LDAP attribute. You can hardcode any value like 'foo'.
         * 
         * @return builder
         * 
         */
        public Builder attributeValue(@Nullable Output attributeValue) {
            $.attributeValue = attributeValue;
            return this;
        }

        /**
         * @param attributeValue The value to set to the LDAP attribute. You can hardcode any value like 'foo'.
         * 
         * @return builder
         * 
         */
        public Builder attributeValue(String attributeValue) {
            return attributeValue(Output.of(attributeValue));
        }

        /**
         * @param ldapUserFederationId The ID of the LDAP user federation provider to attach this mapper to.
         * 
         * @return builder
         * 
         */
        public Builder ldapUserFederationId(@Nullable Output ldapUserFederationId) {
            $.ldapUserFederationId = ldapUserFederationId;
            return this;
        }

        /**
         * @param ldapUserFederationId The ID of the LDAP user federation provider to attach this mapper to.
         * 
         * @return builder
         * 
         */
        public Builder ldapUserFederationId(String ldapUserFederationId) {
            return ldapUserFederationId(Output.of(ldapUserFederationId));
        }

        /**
         * @param name Display name of this mapper when displayed in the console.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Display name of this mapper when displayed in the console.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param realmId The realm that this LDAP mapper will exist in.
         * 
         * @return builder
         * 
         */
        public Builder realmId(@Nullable Output realmId) {
            $.realmId = realmId;
            return this;
        }

        /**
         * @param realmId The realm that this LDAP mapper will exist in.
         * 
         * @return builder
         * 
         */
        public Builder realmId(String realmId) {
            return realmId(Output.of(realmId));
        }

        public HardcodedAttributeMapperState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy