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

com.pulumi.linode.inputs.GetInstanceNetworkingArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;


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

    public static final GetInstanceNetworkingArgs Empty = new GetInstanceNetworkingArgs();

    /**
     * The Linode instance's ID.
     * 
     */
    @Import(name="linodeId", required=true)
    private Output linodeId;

    /**
     * @return The Linode instance's ID.
     * 
     */
    public Output linodeId() {
        return this.linodeId;
    }

    private GetInstanceNetworkingArgs() {}

    private GetInstanceNetworkingArgs(GetInstanceNetworkingArgs $) {
        this.linodeId = $.linodeId;
    }

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

    public static final class Builder {
        private GetInstanceNetworkingArgs $;

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

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

        /**
         * @param linodeId The Linode instance's ID.
         * 
         * @return builder
         * 
         */
        public Builder linodeId(Output linodeId) {
            $.linodeId = linodeId;
            return this;
        }

        /**
         * @param linodeId The Linode instance's ID.
         * 
         * @return builder
         * 
         */
        public Builder linodeId(Integer linodeId) {
            return linodeId(Output.of(linodeId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy