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

com.ovhcloud.pulumi.ovh.Dedicated.inputs.GetServerBootsArgs Maven / Gradle / Ivy

There is a newer version: 1.1.0
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.ovhcloud.pulumi.ovh.Dedicated.inputs;

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


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

    public static final GetServerBootsArgs Empty = new GetServerBootsArgs();

    /**
     * Filter the value of bootType property (harddisk, rescue, internal, network)
     * 
     */
    @Import(name="bootType")
    private @Nullable Output bootType;

    /**
     * @return Filter the value of bootType property (harddisk, rescue, internal, network)
     * 
     */
    public Optional> bootType() {
        return Optional.ofNullable(this.bootType);
    }

    /**
     * Filter the value of kernel property (iPXE script name)
     * 
     */
    @Import(name="kernel")
    private @Nullable Output kernel;

    /**
     * @return Filter the value of kernel property (iPXE script name)
     * 
     */
    public Optional> kernel() {
        return Optional.ofNullable(this.kernel);
    }

    /**
     * The internal name of your dedicated server.
     * 
     */
    @Import(name="serviceName", required=true)
    private Output serviceName;

    /**
     * @return The internal name of your dedicated server.
     * 
     */
    public Output serviceName() {
        return this.serviceName;
    }

    private GetServerBootsArgs() {}

    private GetServerBootsArgs(GetServerBootsArgs $) {
        this.bootType = $.bootType;
        this.kernel = $.kernel;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private GetServerBootsArgs $;

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

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

        /**
         * @param bootType Filter the value of bootType property (harddisk, rescue, internal, network)
         * 
         * @return builder
         * 
         */
        public Builder bootType(@Nullable Output bootType) {
            $.bootType = bootType;
            return this;
        }

        /**
         * @param bootType Filter the value of bootType property (harddisk, rescue, internal, network)
         * 
         * @return builder
         * 
         */
        public Builder bootType(String bootType) {
            return bootType(Output.of(bootType));
        }

        /**
         * @param kernel Filter the value of kernel property (iPXE script name)
         * 
         * @return builder
         * 
         */
        public Builder kernel(@Nullable Output kernel) {
            $.kernel = kernel;
            return this;
        }

        /**
         * @param kernel Filter the value of kernel property (iPXE script name)
         * 
         * @return builder
         * 
         */
        public Builder kernel(String kernel) {
            return kernel(Output.of(kernel));
        }

        /**
         * @param serviceName The internal name of your dedicated server.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The internal name of your dedicated server.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy