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

com.pulumi.linode.inputs.GetStackScriptPlainArgs Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
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.linode.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetStackScriptPlainArgs Empty = new GetStackScriptPlainArgs();

    /**
     * The unique numeric ID of the StackScript to query.
     * 
     */
    @Import(name="id", required=true)
    private String id;

    /**
     * @return The unique numeric ID of the StackScript to query.
     * 
     */
    public String id() {
        return this.id;
    }

    private GetStackScriptPlainArgs() {}

    private GetStackScriptPlainArgs(GetStackScriptPlainArgs $) {
        this.id = $.id;
    }

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

    public static final class Builder {
        private GetStackScriptPlainArgs $;

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

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

        /**
         * @param id The unique numeric ID of the StackScript to query.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            $.id = id;
            return this;
        }

        public GetStackScriptPlainArgs build() {
            if ($.id == null) {
                throw new MissingRequiredPropertyException("GetStackScriptPlainArgs", "id");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy