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

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

There is a newer version: 0.2.0-alpha.1732774506
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.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 HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs extends com.pulumi.resources.ResourceArgs {

    public static final HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs Empty = new HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs();

    /**
     * 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 HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs() {}

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

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

    public static final class Builder {
        private HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs $;

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

        public Builder(HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs defaults) {
            $ = new HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs(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 HipObjectDiskBackupCriteriaLastBackupTimeNotWithinArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy