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

com.pulumi.azurenative.costmanagement.outputs.ReportRecurrencePeriodResponse Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ReportRecurrencePeriodResponse {
    /**
     * @return The start date of recurrence.
     * 
     */
    private String from;
    /**
     * @return The end date of recurrence.
     * 
     */
    private @Nullable String to;

    private ReportRecurrencePeriodResponse() {}
    /**
     * @return The start date of recurrence.
     * 
     */
    public String from() {
        return this.from;
    }
    /**
     * @return The end date of recurrence.
     * 
     */
    public Optional to() {
        return Optional.ofNullable(this.to);
    }

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

    public static Builder builder(ReportRecurrencePeriodResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String from;
        private @Nullable String to;
        public Builder() {}
        public Builder(ReportRecurrencePeriodResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.from = defaults.from;
    	      this.to = defaults.to;
        }

        @CustomType.Setter
        public Builder from(String from) {
            if (from == null) {
              throw new MissingRequiredPropertyException("ReportRecurrencePeriodResponse", "from");
            }
            this.from = from;
            return this;
        }
        @CustomType.Setter
        public Builder to(@Nullable String to) {

            this.to = to;
            return this;
        }
        public ReportRecurrencePeriodResponse build() {
            final var _resultValue = new ReportRecurrencePeriodResponse();
            _resultValue.from = from;
            _resultValue.to = to;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy