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

com.pulumi.vault.identity.OidcScopeArgs 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.identity;

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 OidcScopeArgs extends com.pulumi.resources.ResourceArgs {

    public static final OidcScopeArgs Empty = new OidcScopeArgs();

    /**
     * A description of the scope.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the scope.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The name of the scope. The `openid` scope name is reserved.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the scope. The `openid` scope name is reserved.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * 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);
    }

    /**
     * The template string for the scope. This may be provided as escaped JSON or base64 encoded JSON.
     * 
     */
    @Import(name="template")
    private @Nullable Output template;

    /**
     * @return The template string for the scope. This may be provided as escaped JSON or base64 encoded JSON.
     * 
     */
    public Optional> template() {
        return Optional.ofNullable(this.template);
    }

    private OidcScopeArgs() {}

    private OidcScopeArgs(OidcScopeArgs $) {
        this.description = $.description;
        this.name = $.name;
        this.namespace = $.namespace;
        this.template = $.template;
    }

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

    public static final class Builder {
        private OidcScopeArgs $;

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

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

        /**
         * @param description A description of the scope.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description of the scope.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name The name of the scope. The `openid` scope name is reserved.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the scope. The `openid` scope name is reserved.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @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 template The template string for the scope. This may be provided as escaped JSON or base64 encoded JSON.
         * 
         * @return builder
         * 
         */
        public Builder template(@Nullable Output template) {
            $.template = template;
            return this;
        }

        /**
         * @param template The template string for the scope. This may be provided as escaped JSON or base64 encoded JSON.
         * 
         * @return builder
         * 
         */
        public Builder template(String template) {
            return template(Output.of(template));
        }

        public OidcScopeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy