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

com.pulumi.scm.outputs.HipObjectAntiMalwareCriteriaLastScanTime 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.scm.outputs.HipObjectAntiMalwareCriteriaLastScanTimeNotWithin;
import com.pulumi.scm.outputs.HipObjectAntiMalwareCriteriaLastScanTimeWithin;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class HipObjectAntiMalwareCriteriaLastScanTime {
    /**
     * @return The NotAvailable param. Ensure that only one of the following is specified: `not_available`, `not_within`, `within`
     * 
     */
    private @Nullable Boolean notAvailable;
    /**
     * @return The NotWithin param. Ensure that only one of the following is specified: `not_available`, `not_within`, `within`
     * 
     */
    private @Nullable HipObjectAntiMalwareCriteriaLastScanTimeNotWithin notWithin;
    /**
     * @return The Within param. Ensure that only one of the following is specified: `not_available`, `not_within`, `within`
     * 
     */
    private @Nullable HipObjectAntiMalwareCriteriaLastScanTimeWithin within;

    private HipObjectAntiMalwareCriteriaLastScanTime() {}
    /**
     * @return The NotAvailable param. Ensure that only one of the following is specified: `not_available`, `not_within`, `within`
     * 
     */
    public Optional notAvailable() {
        return Optional.ofNullable(this.notAvailable);
    }
    /**
     * @return The NotWithin param. Ensure that only one of the following is specified: `not_available`, `not_within`, `within`
     * 
     */
    public Optional notWithin() {
        return Optional.ofNullable(this.notWithin);
    }
    /**
     * @return The Within param. Ensure that only one of the following is specified: `not_available`, `not_within`, `within`
     * 
     */
    public Optional within() {
        return Optional.ofNullable(this.within);
    }

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

    public static Builder builder(HipObjectAntiMalwareCriteriaLastScanTime defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean notAvailable;
        private @Nullable HipObjectAntiMalwareCriteriaLastScanTimeNotWithin notWithin;
        private @Nullable HipObjectAntiMalwareCriteriaLastScanTimeWithin within;
        public Builder() {}
        public Builder(HipObjectAntiMalwareCriteriaLastScanTime defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.notAvailable = defaults.notAvailable;
    	      this.notWithin = defaults.notWithin;
    	      this.within = defaults.within;
        }

        @CustomType.Setter
        public Builder notAvailable(@Nullable Boolean notAvailable) {

            this.notAvailable = notAvailable;
            return this;
        }
        @CustomType.Setter
        public Builder notWithin(@Nullable HipObjectAntiMalwareCriteriaLastScanTimeNotWithin notWithin) {

            this.notWithin = notWithin;
            return this;
        }
        @CustomType.Setter
        public Builder within(@Nullable HipObjectAntiMalwareCriteriaLastScanTimeWithin within) {

            this.within = within;
            return this;
        }
        public HipObjectAntiMalwareCriteriaLastScanTime build() {
            final var _resultValue = new HipObjectAntiMalwareCriteriaLastScanTime();
            _resultValue.notAvailable = notAvailable;
            _resultValue.notWithin = notWithin;
            _resultValue.within = within;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy