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

com.pulumi.vault.inputs.GetPolicyDocumentArgs 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.inputs;

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


public final class GetPolicyDocumentArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetPolicyDocumentArgs Empty = new GetPolicyDocumentArgs();

    @Import(name="namespace")
    private @Nullable Output namespace;

    public Optional> namespace() {
        return Optional.ofNullable(this.namespace);
    }

    @Import(name="rules")
    private @Nullable Output> rules;

    public Optional>> rules() {
        return Optional.ofNullable(this.rules);
    }

    private GetPolicyDocumentArgs() {}

    private GetPolicyDocumentArgs(GetPolicyDocumentArgs $) {
        this.namespace = $.namespace;
        this.rules = $.rules;
    }

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

    public static final class Builder {
        private GetPolicyDocumentArgs $;

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

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

        public Builder namespace(@Nullable Output namespace) {
            $.namespace = namespace;
            return this;
        }

        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        public Builder rules(@Nullable Output> rules) {
            $.rules = rules;
            return this;
        }

        public Builder rules(List rules) {
            return rules(Output.of(rules));
        }

        public Builder rules(GetPolicyDocumentRuleArgs... rules) {
            return rules(List.of(rules));
        }

        public GetPolicyDocumentArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy