sdk/java/src/main/java/com/pulumi/ovh/Dedicated/ServerUpdateArgs.java
// *** 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.ovh.Dedicated;

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 ServerUpdateArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServerUpdateArgs Empty = new ServerUpdateArgs();

    /**
     * boot id of the server
     * 
     */
    @Import(name="bootId")
    private @Nullable Output<Integer> bootId;

    /**
     * @return boot id of the server
     * 
     */
    public Optional<Output<Integer>> bootId() {
        return Optional.ofNullable(this.bootId);
    }

    /**
     * Icmp monitoring state
     * 
     */
    @Import(name="monitoring")
    private @Nullable Output<Boolean> monitoring;

    /**
     * @return Icmp monitoring state
     * 
     */
    public Optional<Output<Boolean>> monitoring() {
        return Optional.ofNullable(this.monitoring);
    }

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

    /**
     * @return The service_name of your dedicated server.
     * 
     */
    public Output<String> serviceName() {
        return this.serviceName;
    }

    /**
     * error, hacked, hackedBlocked, ok
     * 
     */
    @Import(name="state")
    private @Nullable Output<String> state;

    /**
     * @return error, hacked, hackedBlocked, ok
     * 
     */
    public Optional<Output<String>> state() {
        return Optional.ofNullable(this.state);
    }

    private ServerUpdateArgs() {}

    private ServerUpdateArgs(ServerUpdateArgs $) {
        this.bootId = $.bootId;
        this.monitoring = $.monitoring;
        this.serviceName = $.serviceName;
        this.state = $.state;
    }

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

    public static final class Builder {
        private ServerUpdateArgs $;

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

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

        /**
         * @param bootId boot id of the server
         * 
         * @return builder
         * 
         */
        public Builder bootId(@Nullable Output<Integer> bootId) {
            $.bootId = bootId;
            return this;
        }

        /**
         * @param bootId boot id of the server
         * 
         * @return builder
         * 
         */
        public Builder bootId(Integer bootId) {
            return bootId(Output.of(bootId));
        }

        /**
         * @param monitoring Icmp monitoring state
         * 
         * @return builder
         * 
         */
        public Builder monitoring(@Nullable Output<Boolean> monitoring) {
            $.monitoring = monitoring;
            return this;
        }

        /**
         * @param monitoring Icmp monitoring state
         * 
         * @return builder
         * 
         */
        public Builder monitoring(Boolean monitoring) {
            return monitoring(Output.of(monitoring));
        }

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

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

        /**
         * @param state error, hacked, hackedBlocked, ok
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable Output<String> state) {
            $.state = state;
            return this;
        }

        /**
         * @param state error, hacked, hackedBlocked, ok
         * 
         * @return builder
         * 
         */
        public Builder state(String state) {
            return state(Output.of(state));
        }

        public ServerUpdateArgs build() {
            $.serviceName = Objects.requireNonNull($.serviceName, "expected parameter 'serviceName' to be non-null");
            return $;
        }
    }

}
