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

com.pulumi.vault.ldap.inputs.AuthBackendGroupState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing HashiCorp Vault cloud resources.

There is a newer version: 6.5.0-alpha.1732775348
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.vault.ldap.inputs;

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


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

    public static final AuthBackendGroupState Empty = new AuthBackendGroupState();

    /**
     * Path to the authentication backend
     * 
     * For more details on the usage of each argument consult the [Vault LDAP API documentation](https://www.vaultproject.io/api-docs/auth/ldap).
     * 
     */
    @Import(name="backend")
    private @Nullable Output backend;

    /**
     * @return Path to the authentication backend
     * 
     * For more details on the usage of each argument consult the [Vault LDAP API documentation](https://www.vaultproject.io/api-docs/auth/ldap).
     * 
     */
    public Optional> backend() {
        return Optional.ofNullable(this.backend);
    }

    /**
     * The LDAP groupname
     * 
     */
    @Import(name="groupname")
    private @Nullable Output groupname;

    /**
     * @return The LDAP groupname
     * 
     */
    public Optional> groupname() {
        return Optional.ofNullable(this.groupname);
    }

    /**
     * The namespace to provision the resource in.
     * The value should not contain leading or trailing forward slashes.
     * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
     * *Available only for Vault Enterprise*.
     * 
     */
    @Import(name="namespace")
    private @Nullable Output namespace;

    /**
     * @return The namespace to provision the resource in.
     * The value should not contain leading or trailing forward slashes.
     * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
     * *Available only for Vault Enterprise*.
     * 
     */
    public Optional> namespace() {
        return Optional.ofNullable(this.namespace);
    }

    /**
     * Policies which should be granted to members of the group
     * 
     */
    @Import(name="policies")
    private @Nullable Output> policies;

    /**
     * @return Policies which should be granted to members of the group
     * 
     */
    public Optional>> policies() {
        return Optional.ofNullable(this.policies);
    }

    private AuthBackendGroupState() {}

    private AuthBackendGroupState(AuthBackendGroupState $) {
        this.backend = $.backend;
        this.groupname = $.groupname;
        this.namespace = $.namespace;
        this.policies = $.policies;
    }

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

    public static final class Builder {
        private AuthBackendGroupState $;

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

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

        /**
         * @param backend Path to the authentication backend
         * 
         * For more details on the usage of each argument consult the [Vault LDAP API documentation](https://www.vaultproject.io/api-docs/auth/ldap).
         * 
         * @return builder
         * 
         */
        public Builder backend(@Nullable Output backend) {
            $.backend = backend;
            return this;
        }

        /**
         * @param backend Path to the authentication backend
         * 
         * For more details on the usage of each argument consult the [Vault LDAP API documentation](https://www.vaultproject.io/api-docs/auth/ldap).
         * 
         * @return builder
         * 
         */
        public Builder backend(String backend) {
            return backend(Output.of(backend));
        }

        /**
         * @param groupname The LDAP groupname
         * 
         * @return builder
         * 
         */
        public Builder groupname(@Nullable Output groupname) {
            $.groupname = groupname;
            return this;
        }

        /**
         * @param groupname The LDAP groupname
         * 
         * @return builder
         * 
         */
        public Builder groupname(String groupname) {
            return groupname(Output.of(groupname));
        }

        /**
         * @param namespace The namespace to provision the resource in.
         * The value should not contain leading or trailing forward slashes.
         * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
         * *Available only for Vault Enterprise*.
         * 
         * @return builder
         * 
         */
        public Builder namespace(@Nullable Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace The namespace to provision the resource in.
         * The value should not contain leading or trailing forward slashes.
         * The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
         * *Available only for Vault Enterprise*.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        /**
         * @param policies Policies which should be granted to members of the group
         * 
         * @return builder
         * 
         */
        public Builder policies(@Nullable Output> policies) {
            $.policies = policies;
            return this;
        }

        /**
         * @param policies Policies which should be granted to members of the group
         * 
         * @return builder
         * 
         */
        public Builder policies(List policies) {
            return policies(Output.of(policies));
        }

        /**
         * @param policies Policies which should be granted to members of the group
         * 
         * @return builder
         * 
         */
        public Builder policies(String... policies) {
            return policies(List.of(policies));
        }

        public AuthBackendGroupState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy