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

com.pulumi.aws.codebuild.outputs.ReportGroupExportConfig 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.codebuild.outputs;

import com.pulumi.aws.codebuild.outputs.ReportGroupExportConfigS3Destination;
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 ReportGroupExportConfig {
    /**
     * @return contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
     * 
     */
    private @Nullable ReportGroupExportConfigS3Destination s3Destination;
    /**
     * @return The export configuration type. Valid values are `S3` and `NO_EXPORT`.
     * 
     */
    private String type;

    private ReportGroupExportConfig() {}
    /**
     * @return contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
     * 
     */
    public Optional s3Destination() {
        return Optional.ofNullable(this.s3Destination);
    }
    /**
     * @return The export configuration type. Valid values are `S3` and `NO_EXPORT`.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(ReportGroupExportConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ReportGroupExportConfigS3Destination s3Destination;
        private String type;
        public Builder() {}
        public Builder(ReportGroupExportConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.s3Destination = defaults.s3Destination;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder s3Destination(@Nullable ReportGroupExportConfigS3Destination s3Destination) {

            this.s3Destination = s3Destination;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("ReportGroupExportConfig", "type");
            }
            this.type = type;
            return this;
        }
        public ReportGroupExportConfig build() {
            final var _resultValue = new ReportGroupExportConfig();
            _resultValue.s3Destination = s3Destination;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy