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

com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsInputEngineArgs 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.Dbaas.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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 isDeprecated;

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

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

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

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

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

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

    /**
     * @return Software version
     * 
     */
    public Optional> 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 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 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's the ID of your Logs Data Platform instance.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The service name. It'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 version) {
            $.version = version;
            return this;
        }

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

        public GetLogsInputEngineArgs build() {
            if ($.serviceName == null) {
                throw new MissingRequiredPropertyException("GetLogsInputEngineArgs", "serviceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy