sdk/java/src/main/java/com/pulumi/ovh/Dbaas/inputs/GetLogsInputEngineArgs.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/Dbaas/inputs/GetLogsInputEngineArgs.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.Dbaas.inputs;

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


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

    public static final GetLogsInputEngineArgs Empty = new GetLogsInputEngineArgs();

    /**
     * Indicates if engine will soon not be supported.
     * 
     */
    @Import(name="isDeprecated")
    private @Nullable Output<Boolean> isDeprecated;

    /**
     * @return Indicates if engine will soon not be supported.
     * 
     */
    public Optional<Output<Boolean>> isDeprecated() {
        return Optional.ofNullable(this.isDeprecated);
    }

    /**
     * The name of the logs input engine.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return The name of the logs input engine.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The service name. It&#39;s the ID of your Logs Data Platform instance.
     * 
     */
    @Import(name="serviceName", required=true)
    private Output<String> serviceName;

    /**
     * @return The service name. It&#39;s the ID of your Logs Data Platform instance.
     * 
     */
    public Output<String> serviceName() {
        return this.serviceName;
    }

    /**
     * Software version
     * 
     */
    @Import(name="version")
    private @Nullable Output<String> version;

    /**
     * @return Software version
     * 
     */
    public Optional<Output<String>> version() {
        return Optional.ofNullable(this.version);
    }

    private GetLogsInputEngineArgs() {}

    private GetLogsInputEngineArgs(GetLogsInputEngineArgs $) {
        this.isDeprecated = $.isDeprecated;
        this.name = $.name;
        this.serviceName = $.serviceName;
        this.version = $.version;
    }

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

    public static final class Builder {
        private GetLogsInputEngineArgs $;

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

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

        /**
         * @param isDeprecated Indicates if engine will soon not be supported.
         * 
         * @return builder
         * 
         */
        public Builder isDeprecated(@Nullable Output<Boolean> isDeprecated) {
            $.isDeprecated = isDeprecated;
            return this;
        }

        /**
         * @param isDeprecated Indicates if engine will soon not be supported.
         * 
         * @return builder
         * 
         */
        public Builder isDeprecated(Boolean isDeprecated) {
            return isDeprecated(Output.of(isDeprecated));
        }

        /**
         * @param name The name of the logs input engine.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the logs input engine.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param serviceName The service name. It&#39;s the ID of your Logs Data Platform instance.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output<String> serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The service name. It&#39;s the ID of your Logs Data Platform instance.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param version Software version
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output<String> version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Software version
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

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

}
