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

com.pulumi.azurenative.dataprotection.inputs.DayArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.dataprotection.inputs;

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


/**
 * Day of the week
 * 
 */
public final class DayArgs extends com.pulumi.resources.ResourceArgs {

    public static final DayArgs Empty = new DayArgs();

    /**
     * Date of the month
     * 
     */
    @Import(name="date")
    private @Nullable Output date;

    /**
     * @return Date of the month
     * 
     */
    public Optional> date() {
        return Optional.ofNullable(this.date);
    }

    /**
     * Whether Date is last date of month
     * 
     */
    @Import(name="isLast")
    private @Nullable Output isLast;

    /**
     * @return Whether Date is last date of month
     * 
     */
    public Optional> isLast() {
        return Optional.ofNullable(this.isLast);
    }

    private DayArgs() {}

    private DayArgs(DayArgs $) {
        this.date = $.date;
        this.isLast = $.isLast;
    }

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

    public static final class Builder {
        private DayArgs $;

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

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

        /**
         * @param date Date of the month
         * 
         * @return builder
         * 
         */
        public Builder date(@Nullable Output date) {
            $.date = date;
            return this;
        }

        /**
         * @param date Date of the month
         * 
         * @return builder
         * 
         */
        public Builder date(Integer date) {
            return date(Output.of(date));
        }

        /**
         * @param isLast Whether Date is last date of month
         * 
         * @return builder
         * 
         */
        public Builder isLast(@Nullable Output isLast) {
            $.isLast = isLast;
            return this;
        }

        /**
         * @param isLast Whether Date is last date of month
         * 
         * @return builder
         * 
         */
        public Builder isLast(Boolean isLast) {
            return isLast(Output.of(isLast));
        }

        public DayArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy