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

com.pulumi.azurenative.costmanagement.outputs.ExportScheduleResponse 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.azurenative.costmanagement.outputs.ExportRecurrencePeriodResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ExportScheduleResponse {
    /**
     * @return The schedule recurrence.
     * 
     */
    private @Nullable String recurrence;
    /**
     * @return Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
     * 
     */
    private @Nullable ExportRecurrencePeriodResponse recurrencePeriod;
    /**
     * @return The status of the export's schedule. If 'Inactive', the export's schedule is paused.
     * 
     */
    private @Nullable String status;

    private ExportScheduleResponse() {}
    /**
     * @return The schedule recurrence.
     * 
     */
    public Optional recurrence() {
        return Optional.ofNullable(this.recurrence);
    }
    /**
     * @return Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
     * 
     */
    public Optional recurrencePeriod() {
        return Optional.ofNullable(this.recurrencePeriod);
    }
    /**
     * @return The status of the export's schedule. If 'Inactive', the export's schedule is paused.
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

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

    public static Builder builder(ExportScheduleResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String recurrence;
        private @Nullable ExportRecurrencePeriodResponse recurrencePeriod;
        private @Nullable String status;
        public Builder() {}
        public Builder(ExportScheduleResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.recurrence = defaults.recurrence;
    	      this.recurrencePeriod = defaults.recurrencePeriod;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder recurrence(@Nullable String recurrence) {

            this.recurrence = recurrence;
            return this;
        }
        @CustomType.Setter
        public Builder recurrencePeriod(@Nullable ExportRecurrencePeriodResponse recurrencePeriod) {

            this.recurrencePeriod = recurrencePeriod;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable String status) {

            this.status = status;
            return this;
        }
        public ExportScheduleResponse build() {
            final var _resultValue = new ExportScheduleResponse();
            _resultValue.recurrence = recurrence;
            _resultValue.recurrencePeriod = recurrencePeriod;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy