sdk/java/src/main/java/com/pulumi/ovh/Dbaas/inputs/GetLogsInputEnginePlainArgs.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/Dbaas/inputs/GetLogsInputEnginePlainArgs.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.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 GetLogsInputEnginePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetLogsInputEnginePlainArgs Empty = new GetLogsInputEnginePlainArgs();

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

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

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

    /**
     * @return The name of the logs input engine.
     * 
     */
    public Optional<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 String serviceName;

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

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

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

    private GetLogsInputEnginePlainArgs() {}

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

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

    public static final class Builder {
        private GetLogsInputEnginePlainArgs $;

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

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

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

        /**
         * @param name The name of the logs input engine.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable String name) {
            $.name = name;
            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) {
            $.serviceName = serviceName;
            return this;
        }

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

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

}
