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

com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaLastObservedAtArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

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.aws.securityhub.inputs;

import com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaLastObservedAtDateRangeArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AutomationRuleCriteriaLastObservedAtArgs Empty = new AutomationRuleCriteriaLastObservedAtArgs();

    /**
     * A configuration block of the date range for the date filter. See date_range below for more details.
     * 
     */
    @Import(name="dateRange")
    private @Nullable Output dateRange;

    /**
     * @return A configuration block of the date range for the date filter. See date_range below for more details.
     * 
     */
    public Optional> dateRange() {
        return Optional.ofNullable(this.dateRange);
    }

    /**
     * An end date for the date filter. Required with `start` if `date_range` is not specified.
     * 
     */
    @Import(name="end")
    private @Nullable Output end;

    /**
     * @return An end date for the date filter. Required with `start` if `date_range` is not specified.
     * 
     */
    public Optional> end() {
        return Optional.ofNullable(this.end);
    }

    /**
     * A start date for the date filter. Required with `end` if `date_range` is not specified.
     * 
     */
    @Import(name="start")
    private @Nullable Output start;

    /**
     * @return A start date for the date filter. Required with `end` if `date_range` is not specified.
     * 
     */
    public Optional> start() {
        return Optional.ofNullable(this.start);
    }

    private AutomationRuleCriteriaLastObservedAtArgs() {}

    private AutomationRuleCriteriaLastObservedAtArgs(AutomationRuleCriteriaLastObservedAtArgs $) {
        this.dateRange = $.dateRange;
        this.end = $.end;
        this.start = $.start;
    }

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

    public static final class Builder {
        private AutomationRuleCriteriaLastObservedAtArgs $;

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

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

        /**
         * @param dateRange A configuration block of the date range for the date filter. See date_range below for more details.
         * 
         * @return builder
         * 
         */
        public Builder dateRange(@Nullable Output dateRange) {
            $.dateRange = dateRange;
            return this;
        }

        /**
         * @param dateRange A configuration block of the date range for the date filter. See date_range below for more details.
         * 
         * @return builder
         * 
         */
        public Builder dateRange(AutomationRuleCriteriaLastObservedAtDateRangeArgs dateRange) {
            return dateRange(Output.of(dateRange));
        }

        /**
         * @param end An end date for the date filter. Required with `start` if `date_range` is not specified.
         * 
         * @return builder
         * 
         */
        public Builder end(@Nullable Output end) {
            $.end = end;
            return this;
        }

        /**
         * @param end An end date for the date filter. Required with `start` if `date_range` is not specified.
         * 
         * @return builder
         * 
         */
        public Builder end(String end) {
            return end(Output.of(end));
        }

        /**
         * @param start A start date for the date filter. Required with `end` if `date_range` is not specified.
         * 
         * @return builder
         * 
         */
        public Builder start(@Nullable Output start) {
            $.start = start;
            return this;
        }

        /**
         * @param start A start date for the date filter. Required with `end` if `date_range` is not specified.
         * 
         * @return builder
         * 
         */
        public Builder start(String start) {
            return start(Output.of(start));
        }

        public AutomationRuleCriteriaLastObservedAtArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy