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

com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerInstallTaskDetailsArgs 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 java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ServerInstallTaskDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServerInstallTaskDetailsArgs Empty = new ServerInstallTaskDetailsArgs();

    /**
     * Set up the server using the provided hostname instead of the default hostname.
     * 
     */
    @Import(name="customHostname")
    private @Nullable Output customHostname;

    /**
     * @return Set up the server using the provided hostname instead of the default hostname.
     * 
     */
    public Optional> customHostname() {
        return Optional.ofNullable(this.customHostname);
    }

    /**
     * Disk group id.
     * 
     */
    @Import(name="diskGroupId")
    private @Nullable Output diskGroupId;

    /**
     * @return Disk group id.
     * 
     */
    public Optional> diskGroupId() {
        return Optional.ofNullable(this.diskGroupId);
    }

    /**
     * Set to true to disable RAID.
     * 
     */
    @Import(name="noRaid")
    private @Nullable Output noRaid;

    /**
     * @return Set to true to disable RAID.
     * 
     */
    public Optional> noRaid() {
        return Optional.ofNullable(this.noRaid);
    }

    /**
     * soft raid devices.
     * 
     */
    @Import(name="softRaidDevices")
    private @Nullable Output softRaidDevices;

    /**
     * @return soft raid devices.
     * 
     */
    public Optional> softRaidDevices() {
        return Optional.ofNullable(this.softRaidDevices);
    }

    private ServerInstallTaskDetailsArgs() {}

    private ServerInstallTaskDetailsArgs(ServerInstallTaskDetailsArgs $) {
        this.customHostname = $.customHostname;
        this.diskGroupId = $.diskGroupId;
        this.noRaid = $.noRaid;
        this.softRaidDevices = $.softRaidDevices;
    }

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

    public static final class Builder {
        private ServerInstallTaskDetailsArgs $;

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

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

        /**
         * @param customHostname Set up the server using the provided hostname instead of the default hostname.
         * 
         * @return builder
         * 
         */
        public Builder customHostname(@Nullable Output customHostname) {
            $.customHostname = customHostname;
            return this;
        }

        /**
         * @param customHostname Set up the server using the provided hostname instead of the default hostname.
         * 
         * @return builder
         * 
         */
        public Builder customHostname(String customHostname) {
            return customHostname(Output.of(customHostname));
        }

        /**
         * @param diskGroupId Disk group id.
         * 
         * @return builder
         * 
         */
        public Builder diskGroupId(@Nullable Output diskGroupId) {
            $.diskGroupId = diskGroupId;
            return this;
        }

        /**
         * @param diskGroupId Disk group id.
         * 
         * @return builder
         * 
         */
        public Builder diskGroupId(Integer diskGroupId) {
            return diskGroupId(Output.of(diskGroupId));
        }

        /**
         * @param noRaid Set to true to disable RAID.
         * 
         * @return builder
         * 
         */
        public Builder noRaid(@Nullable Output noRaid) {
            $.noRaid = noRaid;
            return this;
        }

        /**
         * @param noRaid Set to true to disable RAID.
         * 
         * @return builder
         * 
         */
        public Builder noRaid(Boolean noRaid) {
            return noRaid(Output.of(noRaid));
        }

        /**
         * @param softRaidDevices soft raid devices.
         * 
         * @return builder
         * 
         */
        public Builder softRaidDevices(@Nullable Output softRaidDevices) {
            $.softRaidDevices = softRaidDevices;
            return this;
        }

        /**
         * @param softRaidDevices soft raid devices.
         * 
         * @return builder
         * 
         */
        public Builder softRaidDevices(Integer softRaidDevices) {
            return softRaidDevices(Output.of(softRaidDevices));
        }

        public ServerInstallTaskDetailsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy