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

com.pulumi.consul.inputs.AclBindingRuleBindVarsArgs Maven / Gradle / Ivy

There is a newer version: 3.13.0-alpha.1727221178
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.consul.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 AclBindingRuleBindVarsArgs extends com.pulumi.resources.ResourceArgs {

    public static final AclBindingRuleBindVarsArgs Empty = new AclBindingRuleBindVarsArgs();

    /**
     * The name of node, workload identity or service.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of node, workload identity or service.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private AclBindingRuleBindVarsArgs() {}

    private AclBindingRuleBindVarsArgs(AclBindingRuleBindVarsArgs $) {
        this.name = $.name;
    }

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

    public static final class Builder {
        private AclBindingRuleBindVarsArgs $;

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

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

        /**
         * @param name The name of node, workload identity or service.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of node, workload identity or service.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public AclBindingRuleBindVarsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy