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

com.pulumi.sumologic.inputs.MetricsSearchTimeRangeArgs Maven / Gradle / Ivy

The 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.sumologic.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.sumologic.inputs.MetricsSearchTimeRangeBeginBoundedTimeRangeArgs;
import com.pulumi.sumologic.inputs.MetricsSearchTimeRangeCompleteLiteralTimeRangeArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class MetricsSearchTimeRangeArgs extends com.pulumi.resources.ResourceArgs {

    public static final MetricsSearchTimeRangeArgs Empty = new MetricsSearchTimeRangeArgs();

    /**
     * Bounded time range. See
     * begin_bounded_time_range schema schema for details.
     * 
     */
    @Import(name="beginBoundedTimeRange")
    private @Nullable Output beginBoundedTimeRange;

    /**
     * @return Bounded time range. See
     * begin_bounded_time_range schema schema for details.
     * 
     */
    public Optional> beginBoundedTimeRange() {
        return Optional.ofNullable(this.beginBoundedTimeRange);
    }

    /**
     * Literal time range. See
     * complete_literal_time_range schema for details.
     * 
     */
    @Import(name="completeLiteralTimeRange")
    private @Nullable Output completeLiteralTimeRange;

    /**
     * @return Literal time range. See
     * complete_literal_time_range schema for details.
     * 
     */
    public Optional> completeLiteralTimeRange() {
        return Optional.ofNullable(this.completeLiteralTimeRange);
    }

    private MetricsSearchTimeRangeArgs() {}

    private MetricsSearchTimeRangeArgs(MetricsSearchTimeRangeArgs $) {
        this.beginBoundedTimeRange = $.beginBoundedTimeRange;
        this.completeLiteralTimeRange = $.completeLiteralTimeRange;
    }

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

    public static final class Builder {
        private MetricsSearchTimeRangeArgs $;

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

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

        /**
         * @param beginBoundedTimeRange Bounded time range. See
         * begin_bounded_time_range schema schema for details.
         * 
         * @return builder
         * 
         */
        public Builder beginBoundedTimeRange(@Nullable Output beginBoundedTimeRange) {
            $.beginBoundedTimeRange = beginBoundedTimeRange;
            return this;
        }

        /**
         * @param beginBoundedTimeRange Bounded time range. See
         * begin_bounded_time_range schema schema for details.
         * 
         * @return builder
         * 
         */
        public Builder beginBoundedTimeRange(MetricsSearchTimeRangeBeginBoundedTimeRangeArgs beginBoundedTimeRange) {
            return beginBoundedTimeRange(Output.of(beginBoundedTimeRange));
        }

        /**
         * @param completeLiteralTimeRange Literal time range. See
         * complete_literal_time_range schema for details.
         * 
         * @return builder
         * 
         */
        public Builder completeLiteralTimeRange(@Nullable Output completeLiteralTimeRange) {
            $.completeLiteralTimeRange = completeLiteralTimeRange;
            return this;
        }

        /**
         * @param completeLiteralTimeRange Literal time range. See
         * complete_literal_time_range schema for details.
         * 
         * @return builder
         * 
         */
        public Builder completeLiteralTimeRange(MetricsSearchTimeRangeCompleteLiteralTimeRangeArgs completeLiteralTimeRange) {
            return completeLiteralTimeRange(Output.of(completeLiteralTimeRange));
        }

        public MetricsSearchTimeRangeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy