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

com.pulumi.aws.codebuild.inputs.ReportGroupExportConfigS3DestinationArgs 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.inputs;

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


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

    public static final ReportGroupExportConfigS3DestinationArgs Empty = new ReportGroupExportConfigS3DestinationArgs();

    /**
     * The name of the S3 bucket where the raw data of a report are exported.
     * 
     */
    @Import(name="bucket", required=true)
    private Output bucket;

    /**
     * @return The name of the S3 bucket where the raw data of a report are exported.
     * 
     */
    public Output bucket() {
        return this.bucket;
    }

    /**
     * A boolean value that specifies if the results of a report are encrypted.
     * **Note: the API does not currently allow setting encryption as disabled**
     * 
     */
    @Import(name="encryptionDisabled")
    private @Nullable Output encryptionDisabled;

    /**
     * @return A boolean value that specifies if the results of a report are encrypted.
     * **Note: the API does not currently allow setting encryption as disabled**
     * 
     */
    public Optional> encryptionDisabled() {
        return Optional.ofNullable(this.encryptionDisabled);
    }

    /**
     * The encryption key for the report's encrypted raw data. The KMS key ARN.
     * 
     */
    @Import(name="encryptionKey", required=true)
    private Output encryptionKey;

    /**
     * @return The encryption key for the report's encrypted raw data. The KMS key ARN.
     * 
     */
    public Output encryptionKey() {
        return this.encryptionKey;
    }

    /**
     * The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.
     * 
     */
    @Import(name="packaging")
    private @Nullable Output packaging;

    /**
     * @return The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.
     * 
     */
    public Optional> packaging() {
        return Optional.ofNullable(this.packaging);
    }

    /**
     * The path to the exported report's raw data results.
     * 
     */
    @Import(name="path")
    private @Nullable Output path;

    /**
     * @return The path to the exported report's raw data results.
     * 
     */
    public Optional> path() {
        return Optional.ofNullable(this.path);
    }

    private ReportGroupExportConfigS3DestinationArgs() {}

    private ReportGroupExportConfigS3DestinationArgs(ReportGroupExportConfigS3DestinationArgs $) {
        this.bucket = $.bucket;
        this.encryptionDisabled = $.encryptionDisabled;
        this.encryptionKey = $.encryptionKey;
        this.packaging = $.packaging;
        this.path = $.path;
    }

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

    public static final class Builder {
        private ReportGroupExportConfigS3DestinationArgs $;

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

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

        /**
         * @param bucket The name of the S3 bucket where the raw data of a report are exported.
         * 
         * @return builder
         * 
         */
        public Builder bucket(Output bucket) {
            $.bucket = bucket;
            return this;
        }

        /**
         * @param bucket The name of the S3 bucket where the raw data of a report are exported.
         * 
         * @return builder
         * 
         */
        public Builder bucket(String bucket) {
            return bucket(Output.of(bucket));
        }

        /**
         * @param encryptionDisabled A boolean value that specifies if the results of a report are encrypted.
         * **Note: the API does not currently allow setting encryption as disabled**
         * 
         * @return builder
         * 
         */
        public Builder encryptionDisabled(@Nullable Output encryptionDisabled) {
            $.encryptionDisabled = encryptionDisabled;
            return this;
        }

        /**
         * @param encryptionDisabled A boolean value that specifies if the results of a report are encrypted.
         * **Note: the API does not currently allow setting encryption as disabled**
         * 
         * @return builder
         * 
         */
        public Builder encryptionDisabled(Boolean encryptionDisabled) {
            return encryptionDisabled(Output.of(encryptionDisabled));
        }

        /**
         * @param encryptionKey The encryption key for the report's encrypted raw data. The KMS key ARN.
         * 
         * @return builder
         * 
         */
        public Builder encryptionKey(Output encryptionKey) {
            $.encryptionKey = encryptionKey;
            return this;
        }

        /**
         * @param encryptionKey The encryption key for the report's encrypted raw data. The KMS key ARN.
         * 
         * @return builder
         * 
         */
        public Builder encryptionKey(String encryptionKey) {
            return encryptionKey(Output.of(encryptionKey));
        }

        /**
         * @param packaging The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.
         * 
         * @return builder
         * 
         */
        public Builder packaging(@Nullable Output packaging) {
            $.packaging = packaging;
            return this;
        }

        /**
         * @param packaging The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.
         * 
         * @return builder
         * 
         */
        public Builder packaging(String packaging) {
            return packaging(Output.of(packaging));
        }

        /**
         * @param path The path to the exported report's raw data results.
         * 
         * @return builder
         * 
         */
        public Builder path(@Nullable Output path) {
            $.path = path;
            return this;
        }

        /**
         * @param path The path to the exported report's raw data results.
         * 
         * @return builder
         * 
         */
        public Builder path(String path) {
            return path(Output.of(path));
        }

        public ReportGroupExportConfigS3DestinationArgs build() {
            if ($.bucket == null) {
                throw new MissingRequiredPropertyException("ReportGroupExportConfigS3DestinationArgs", "bucket");
            }
            if ($.encryptionKey == null) {
                throw new MissingRequiredPropertyException("ReportGroupExportConfigS3DestinationArgs", "encryptionKey");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy