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

com.pulumi.azurenative.workloads.inputs.DailyRetentionFormatArgs Maven / Gradle / Ivy

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.azurenative.workloads.inputs;

import com.pulumi.azurenative.workloads.inputs.DayArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Daily retention format.
 * 
 */
public final class DailyRetentionFormatArgs extends com.pulumi.resources.ResourceArgs {

    public static final DailyRetentionFormatArgs Empty = new DailyRetentionFormatArgs();

    /**
     * List of days of the month.
     * 
     */
    @Import(name="daysOfTheMonth")
    private @Nullable Output> daysOfTheMonth;

    /**
     * @return List of days of the month.
     * 
     */
    public Optional>> daysOfTheMonth() {
        return Optional.ofNullable(this.daysOfTheMonth);
    }

    private DailyRetentionFormatArgs() {}

    private DailyRetentionFormatArgs(DailyRetentionFormatArgs $) {
        this.daysOfTheMonth = $.daysOfTheMonth;
    }

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

    public static final class Builder {
        private DailyRetentionFormatArgs $;

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

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

        /**
         * @param daysOfTheMonth List of days of the month.
         * 
         * @return builder
         * 
         */
        public Builder daysOfTheMonth(@Nullable Output> daysOfTheMonth) {
            $.daysOfTheMonth = daysOfTheMonth;
            return this;
        }

        /**
         * @param daysOfTheMonth List of days of the month.
         * 
         * @return builder
         * 
         */
        public Builder daysOfTheMonth(List daysOfTheMonth) {
            return daysOfTheMonth(Output.of(daysOfTheMonth));
        }

        /**
         * @param daysOfTheMonth List of days of the month.
         * 
         * @return builder
         * 
         */
        public Builder daysOfTheMonth(DayArgs... daysOfTheMonth) {
            return daysOfTheMonth(List.of(daysOfTheMonth));
        }

        public DailyRetentionFormatArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy