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

com.pulumi.azurenative.costmanagement.outputs.ExportDatasetResponse 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.ExportDatasetConfigurationResponse;
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 ExportDatasetResponse {
    /**
     * @return The export dataset configuration.
     * 
     */
    private @Nullable ExportDatasetConfigurationResponse configuration;
    /**
     * @return The granularity of rows in the export. Currently only 'Daily' is supported.
     * 
     */
    private @Nullable String granularity;

    private ExportDatasetResponse() {}
    /**
     * @return The export dataset configuration.
     * 
     */
    public Optional configuration() {
        return Optional.ofNullable(this.configuration);
    }
    /**
     * @return The granularity of rows in the export. Currently only 'Daily' is supported.
     * 
     */
    public Optional granularity() {
        return Optional.ofNullable(this.granularity);
    }

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

    public static Builder builder(ExportDatasetResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ExportDatasetConfigurationResponse configuration;
        private @Nullable String granularity;
        public Builder() {}
        public Builder(ExportDatasetResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.configuration = defaults.configuration;
    	      this.granularity = defaults.granularity;
        }

        @CustomType.Setter
        public Builder configuration(@Nullable ExportDatasetConfigurationResponse configuration) {

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

            this.granularity = granularity;
            return this;
        }
        public ExportDatasetResponse build() {
            final var _resultValue = new ExportDatasetResponse();
            _resultValue.configuration = configuration;
            _resultValue.granularity = granularity;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy