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

com.pulumi.scm.inputs.HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs Maven / Gradle / Ivy

// *** 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.scm.inputs;

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


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

    public static final HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs Empty = new HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs();

    /**
     * specify time in days. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
     * 
     */
    @Import(name="days")
    private @Nullable Output days;

    /**
     * @return specify time in days. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
     * 
     */
    public Optional> days() {
        return Optional.ofNullable(this.days);
    }

    /**
     * specify time in hours. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
     * 
     */
    @Import(name="hours")
    private @Nullable Output hours;

    /**
     * @return specify time in hours. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
     * 
     */
    public Optional> hours() {
        return Optional.ofNullable(this.hours);
    }

    private HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs() {}

    private HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs(HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs $) {
        this.days = $.days;
        this.hours = $.hours;
    }

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

    public static final class Builder {
        private HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs $;

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

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

        /**
         * @param days specify time in days. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
         * 
         * @return builder
         * 
         */
        public Builder days(@Nullable Output days) {
            $.days = days;
            return this;
        }

        /**
         * @param days specify time in days. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
         * 
         * @return builder
         * 
         */
        public Builder days(Integer days) {
            return days(Output.of(days));
        }

        /**
         * @param hours specify time in hours. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
         * 
         * @return builder
         * 
         */
        public Builder hours(@Nullable Output hours) {
            $.hours = hours;
            return this;
        }

        /**
         * @param hours specify time in hours. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
         * 
         * @return builder
         * 
         */
        public Builder hours(Integer hours) {
            return hours(Output.of(hours));
        }

        public HipObjectAntiMalwareCriteriaLastScanTimeNotWithinArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy