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

com.pulumi.linode.outputs.InstanceConfigHelpers 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class InstanceConfigHelpers {
    /**
     * @return Populates the /dev directory early during boot without udev. Defaults to false.
     * 
     */
    private @Nullable Boolean devtmpfsAutomount;
    /**
     * @return Controls the behavior of the Linode Config's Distribution Helper setting.
     * 
     */
    private @Nullable Boolean distro;
    /**
     * @return Creates a modules dependency file for the Kernel you run.
     * 
     */
    private @Nullable Boolean modulesDep;
    /**
     * @return Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.
     * 
     */
    private @Nullable Boolean network;
    /**
     * @return Disables updatedb cron job to avoid disk thrashing.
     * 
     */
    private @Nullable Boolean updatedbDisabled;

    private InstanceConfigHelpers() {}
    /**
     * @return Populates the /dev directory early during boot without udev. Defaults to false.
     * 
     */
    public Optional devtmpfsAutomount() {
        return Optional.ofNullable(this.devtmpfsAutomount);
    }
    /**
     * @return Controls the behavior of the Linode Config's Distribution Helper setting.
     * 
     */
    public Optional distro() {
        return Optional.ofNullable(this.distro);
    }
    /**
     * @return Creates a modules dependency file for the Kernel you run.
     * 
     */
    public Optional modulesDep() {
        return Optional.ofNullable(this.modulesDep);
    }
    /**
     * @return Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.
     * 
     */
    public Optional network() {
        return Optional.ofNullable(this.network);
    }
    /**
     * @return Disables updatedb cron job to avoid disk thrashing.
     * 
     */
    public Optional updatedbDisabled() {
        return Optional.ofNullable(this.updatedbDisabled);
    }

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

    public static Builder builder(InstanceConfigHelpers defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean devtmpfsAutomount;
        private @Nullable Boolean distro;
        private @Nullable Boolean modulesDep;
        private @Nullable Boolean network;
        private @Nullable Boolean updatedbDisabled;
        public Builder() {}
        public Builder(InstanceConfigHelpers defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.devtmpfsAutomount = defaults.devtmpfsAutomount;
    	      this.distro = defaults.distro;
    	      this.modulesDep = defaults.modulesDep;
    	      this.network = defaults.network;
    	      this.updatedbDisabled = defaults.updatedbDisabled;
        }

        @CustomType.Setter
        public Builder devtmpfsAutomount(@Nullable Boolean devtmpfsAutomount) {

            this.devtmpfsAutomount = devtmpfsAutomount;
            return this;
        }
        @CustomType.Setter
        public Builder distro(@Nullable Boolean distro) {

            this.distro = distro;
            return this;
        }
        @CustomType.Setter
        public Builder modulesDep(@Nullable Boolean modulesDep) {

            this.modulesDep = modulesDep;
            return this;
        }
        @CustomType.Setter
        public Builder network(@Nullable Boolean network) {

            this.network = network;
            return this;
        }
        @CustomType.Setter
        public Builder updatedbDisabled(@Nullable Boolean updatedbDisabled) {

            this.updatedbDisabled = updatedbDisabled;
            return this;
        }
        public InstanceConfigHelpers build() {
            final var _resultValue = new InstanceConfigHelpers();
            _resultValue.devtmpfsAutomount = devtmpfsAutomount;
            _resultValue.distro = distro;
            _resultValue.modulesDep = modulesDep;
            _resultValue.network = network;
            _resultValue.updatedbDisabled = updatedbDisabled;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy