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

com.pulumi.aws.bcmdata.outputs.ExportExport Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.bcmdata.outputs;

import com.pulumi.aws.bcmdata.outputs.ExportExportDataQuery;
import com.pulumi.aws.bcmdata.outputs.ExportExportDestinationConfiguration;
import com.pulumi.aws.bcmdata.outputs.ExportExportRefreshCadence;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ExportExport {
    /**
     * @return Data query for this specific data export. See the `data_query` argument reference below.
     * 
     */
    private @Nullable List dataQueries;
    /**
     * @return Description for this specific data export.
     * 
     */
    private @Nullable String description;
    /**
     * @return Destination configuration for this specific data export. See the `destination_configurations` argument reference below.
     * 
     */
    private @Nullable List destinationConfigurations;
    /**
     * @return Amazon Resource Name (ARN) for this export.
     * 
     */
    private @Nullable String exportArn;
    /**
     * @return Name of this specific data export.
     * 
     */
    private String name;
    /**
     * @return Cadence for Amazon Web Services to update the export in your S3 bucket. See the `refresh_cadence` argument reference below.
     * 
     */
    private @Nullable List refreshCadences;

    private ExportExport() {}
    /**
     * @return Data query for this specific data export. See the `data_query` argument reference below.
     * 
     */
    public List dataQueries() {
        return this.dataQueries == null ? List.of() : this.dataQueries;
    }
    /**
     * @return Description for this specific data export.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Destination configuration for this specific data export. See the `destination_configurations` argument reference below.
     * 
     */
    public List destinationConfigurations() {
        return this.destinationConfigurations == null ? List.of() : this.destinationConfigurations;
    }
    /**
     * @return Amazon Resource Name (ARN) for this export.
     * 
     */
    public Optional exportArn() {
        return Optional.ofNullable(this.exportArn);
    }
    /**
     * @return Name of this specific data export.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Cadence for Amazon Web Services to update the export in your S3 bucket. See the `refresh_cadence` argument reference below.
     * 
     */
    public List refreshCadences() {
        return this.refreshCadences == null ? List.of() : this.refreshCadences;
    }

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

    public static Builder builder(ExportExport defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List dataQueries;
        private @Nullable String description;
        private @Nullable List destinationConfigurations;
        private @Nullable String exportArn;
        private String name;
        private @Nullable List refreshCadences;
        public Builder() {}
        public Builder(ExportExport defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataQueries = defaults.dataQueries;
    	      this.description = defaults.description;
    	      this.destinationConfigurations = defaults.destinationConfigurations;
    	      this.exportArn = defaults.exportArn;
    	      this.name = defaults.name;
    	      this.refreshCadences = defaults.refreshCadences;
        }

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

            this.dataQueries = dataQueries;
            return this;
        }
        public Builder dataQueries(ExportExportDataQuery... dataQueries) {
            return dataQueries(List.of(dataQueries));
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder destinationConfigurations(@Nullable List destinationConfigurations) {

            this.destinationConfigurations = destinationConfigurations;
            return this;
        }
        public Builder destinationConfigurations(ExportExportDestinationConfiguration... destinationConfigurations) {
            return destinationConfigurations(List.of(destinationConfigurations));
        }
        @CustomType.Setter
        public Builder exportArn(@Nullable String exportArn) {

            this.exportArn = exportArn;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("ExportExport", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder refreshCadences(@Nullable List refreshCadences) {

            this.refreshCadences = refreshCadences;
            return this;
        }
        public Builder refreshCadences(ExportExportRefreshCadence... refreshCadences) {
            return refreshCadences(List.of(refreshCadences));
        }
        public ExportExport build() {
            final var _resultValue = new ExportExport();
            _resultValue.dataQueries = dataQueries;
            _resultValue.description = description;
            _resultValue.destinationConfigurations = destinationConfigurations;
            _resultValue.exportArn = exportArn;
            _resultValue.name = name;
            _resultValue.refreshCadences = refreshCadences;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy