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

com.pulumi.aws.glue.inputs.GetScriptDagNodeArg Maven / Gradle / Ivy

// *** 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.aws.glue.inputs;

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


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

    public static final GetScriptDagNodeArg Empty = new GetScriptDagNodeArg();

    /**
     * Name of the argument or property.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return Name of the argument or property.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * Boolean if the value is used as a parameter. Defaults to `false`.
     * 
     */
    @Import(name="param")
    private @Nullable Boolean param;

    /**
     * @return Boolean if the value is used as a parameter. Defaults to `false`.
     * 
     */
    public Optional param() {
        return Optional.ofNullable(this.param);
    }

    /**
     * Value of the argument or property.
     * 
     */
    @Import(name="value", required=true)
    private String value;

    /**
     * @return Value of the argument or property.
     * 
     */
    public String value() {
        return this.value;
    }

    private GetScriptDagNodeArg() {}

    private GetScriptDagNodeArg(GetScriptDagNodeArg $) {
        this.name = $.name;
        this.param = $.param;
        this.value = $.value;
    }

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

    public static final class Builder {
        private GetScriptDagNodeArg $;

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

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

        /**
         * @param name Name of the argument or property.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param param Boolean if the value is used as a parameter. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder param(@Nullable Boolean param) {
            $.param = param;
            return this;
        }

        /**
         * @param value Value of the argument or property.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            $.value = value;
            return this;
        }

        public GetScriptDagNodeArg build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetScriptDagNodeArg", "name");
            }
            if ($.value == null) {
                throw new MissingRequiredPropertyException("GetScriptDagNodeArg", "value");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy