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

com.pulumi.azurenative.recoveryservices.outputs.DailyRetentionFormatResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.recoveryservices.outputs;

import com.pulumi.azurenative.recoveryservices.outputs.DayResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class DailyRetentionFormatResponse {
    /**
     * @return List of days of the month.
     * 
     */
    private @Nullable List daysOfTheMonth;

    private DailyRetentionFormatResponse() {}
    /**
     * @return List of days of the month.
     * 
     */
    public List daysOfTheMonth() {
        return this.daysOfTheMonth == null ? List.of() : this.daysOfTheMonth;
    }

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

    public static Builder builder(DailyRetentionFormatResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List daysOfTheMonth;
        public Builder() {}
        public Builder(DailyRetentionFormatResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.daysOfTheMonth = defaults.daysOfTheMonth;
        }

        @CustomType.Setter
        public Builder daysOfTheMonth(@Nullable List daysOfTheMonth) {

            this.daysOfTheMonth = daysOfTheMonth;
            return this;
        }
        public Builder daysOfTheMonth(DayResponse... daysOfTheMonth) {
            return daysOfTheMonth(List.of(daysOfTheMonth));
        }
        public DailyRetentionFormatResponse build() {
            final var _resultValue = new DailyRetentionFormatResponse();
            _resultValue.daysOfTheMonth = daysOfTheMonth;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy