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

com.pulumi.aws.s3.outputs.AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination Maven / Gradle / Ivy

// *** 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.s3.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 AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination {
    /**
     * @return Account ID that owns the destination bucket.
     * 
     */
    private @Nullable String bucketAccountId;
    /**
     * @return ARN of the destination bucket.
     * 
     */
    private String bucketArn;
    /**
     * @return Output format of exported analytics data. Allowed values: `CSV`. Default value: `CSV`.
     * 
     */
    private @Nullable String format;
    /**
     * @return Prefix to append to exported analytics data.
     * 
     */
    private @Nullable String prefix;

    private AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination() {}
    /**
     * @return Account ID that owns the destination bucket.
     * 
     */
    public Optional bucketAccountId() {
        return Optional.ofNullable(this.bucketAccountId);
    }
    /**
     * @return ARN of the destination bucket.
     * 
     */
    public String bucketArn() {
        return this.bucketArn;
    }
    /**
     * @return Output format of exported analytics data. Allowed values: `CSV`. Default value: `CSV`.
     * 
     */
    public Optional format() {
        return Optional.ofNullable(this.format);
    }
    /**
     * @return Prefix to append to exported analytics data.
     * 
     */
    public Optional prefix() {
        return Optional.ofNullable(this.prefix);
    }

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

    public static Builder builder(AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String bucketAccountId;
        private String bucketArn;
        private @Nullable String format;
        private @Nullable String prefix;
        public Builder() {}
        public Builder(AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bucketAccountId = defaults.bucketAccountId;
    	      this.bucketArn = defaults.bucketArn;
    	      this.format = defaults.format;
    	      this.prefix = defaults.prefix;
        }

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

            this.bucketAccountId = bucketAccountId;
            return this;
        }
        @CustomType.Setter
        public Builder bucketArn(String bucketArn) {
            if (bucketArn == null) {
              throw new MissingRequiredPropertyException("AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination", "bucketArn");
            }
            this.bucketArn = bucketArn;
            return this;
        }
        @CustomType.Setter
        public Builder format(@Nullable String format) {

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

            this.prefix = prefix;
            return this;
        }
        public AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination build() {
            final var _resultValue = new AnalyticsConfigurationStorageClassAnalysisDataExportDestinationS3BucketDestination();
            _resultValue.bucketAccountId = bucketAccountId;
            _resultValue.bucketArn = bucketArn;
            _resultValue.format = format;
            _resultValue.prefix = prefix;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy