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

com.pulumi.linode.inputs.GetInstanceBackupsArgs 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 GetInstanceBackupsArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetInstanceBackupsArgs Empty = new GetInstanceBackupsArgs();

    /**
     * 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 GetInstanceBackupsArgs() {}

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

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

    public static final class Builder {
        private GetInstanceBackupsArgs $;

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

        public Builder(GetInstanceBackupsArgs defaults) {
            $ = new GetInstanceBackupsArgs(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 GetInstanceBackupsArgs build() {
            if ($.linodeId == null) {
                throw new MissingRequiredPropertyException("GetInstanceBackupsArgs", "linodeId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy