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

com.pulumi.aws.codebuild.inputs.ReportGroupExportConfigArgs 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.60.0-alpha.1731982519
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.codebuild.inputs;

import com.pulumi.aws.codebuild.inputs.ReportGroupExportConfigS3DestinationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ReportGroupExportConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final ReportGroupExportConfigArgs Empty = new ReportGroupExportConfigArgs();

    /**
     * contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
     * 
     */
    @Import(name="s3Destination")
    private @Nullable Output s3Destination;

    /**
     * @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);
    }

    /**
     * The export configuration type. Valid values are `S3` and `NO_EXPORT`.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The export configuration type. Valid values are `S3` and `NO_EXPORT`.
     * 
     */
    public Output type() {
        return this.type;
    }

    private ReportGroupExportConfigArgs() {}

    private ReportGroupExportConfigArgs(ReportGroupExportConfigArgs $) {
        this.s3Destination = $.s3Destination;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ReportGroupExportConfigArgs $;

        public Builder() {
            $ = new ReportGroupExportConfigArgs();
        }

        public Builder(ReportGroupExportConfigArgs defaults) {
            $ = new ReportGroupExportConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param s3Destination contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
         * 
         * @return builder
         * 
         */
        public Builder s3Destination(@Nullable Output s3Destination) {
            $.s3Destination = s3Destination;
            return this;
        }

        /**
         * @param s3Destination contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
         * 
         * @return builder
         * 
         */
        public Builder s3Destination(ReportGroupExportConfigS3DestinationArgs s3Destination) {
            return s3Destination(Output.of(s3Destination));
        }

        /**
         * @param type The export configuration type. Valid values are `S3` and `NO_EXPORT`.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The export configuration type. Valid values are `S3` and `NO_EXPORT`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ReportGroupExportConfigArgs build() {
            if ($.type == null) {
                throw new MissingRequiredPropertyException("ReportGroupExportConfigArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy