// *** 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.gcp.dataloss.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs;
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PreventionJobTriggerInspectJobStorageConfigArgs Empty = new PreventionJobTriggerInspectJobStorageConfigArgs();

    /**
     * Options defining BigQuery table and row identifiers.
     * Structure is documented below.
     * 
     */
    @Import(name="bigQueryOptions")
    private @Nullable Output<PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs> bigQueryOptions;

    /**
     * @return Options defining BigQuery table and row identifiers.
     * Structure is documented below.
     * 
     */
    public Optional<Output<PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs>> bigQueryOptions() {
        return Optional.ofNullable(this.bigQueryOptions);
    }

    /**
     * Options defining a file or a set of files within a Google Cloud Storage bucket.
     * Structure is documented below.
     * 
     */
    @Import(name="cloudStorageOptions")
    private @Nullable Output<PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs> cloudStorageOptions;

    /**
     * @return Options defining a file or a set of files within a Google Cloud Storage bucket.
     * Structure is documented below.
     * 
     */
    public Optional<Output<PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs>> cloudStorageOptions() {
        return Optional.ofNullable(this.cloudStorageOptions);
    }

    /**
     * Options defining a data set within Google Cloud Datastore.
     * Structure is documented below.
     * 
     */
    @Import(name="datastoreOptions")
    private @Nullable Output<PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs> datastoreOptions;

    /**
     * @return Options defining a data set within Google Cloud Datastore.
     * Structure is documented below.
     * 
     */
    public Optional<Output<PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs>> datastoreOptions() {
        return Optional.ofNullable(this.datastoreOptions);
    }

    /**
     * Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
     * Structure is documented below.
     * 
     */
    @Import(name="hybridOptions")
    private @Nullable Output<PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs> hybridOptions;

    /**
     * @return Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
     * Structure is documented below.
     * 
     */
    public Optional<Output<PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs>> hybridOptions() {
        return Optional.ofNullable(this.hybridOptions);
    }

    /**
     * Information on where to inspect
     * Structure is documented below.
     * 
     */
    @Import(name="timespanConfig")
    private @Nullable Output<PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs> timespanConfig;

    /**
     * @return Information on where to inspect
     * Structure is documented below.
     * 
     */
    public Optional<Output<PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs>> timespanConfig() {
        return Optional.ofNullable(this.timespanConfig);
    }

    private PreventionJobTriggerInspectJobStorageConfigArgs() {}

    private PreventionJobTriggerInspectJobStorageConfigArgs(PreventionJobTriggerInspectJobStorageConfigArgs $) {
        this.bigQueryOptions = $.bigQueryOptions;
        this.cloudStorageOptions = $.cloudStorageOptions;
        this.datastoreOptions = $.datastoreOptions;
        this.hybridOptions = $.hybridOptions;
        this.timespanConfig = $.timespanConfig;
    }

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

    public static final class Builder {
        private PreventionJobTriggerInspectJobStorageConfigArgs $;

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

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

        /**
         * @param bigQueryOptions Options defining BigQuery table and row identifiers.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder bigQueryOptions(@Nullable Output<PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs> bigQueryOptions) {
            $.bigQueryOptions = bigQueryOptions;
            return this;
        }

        /**
         * @param bigQueryOptions Options defining BigQuery table and row identifiers.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder bigQueryOptions(PreventionJobTriggerInspectJobStorageConfigBigQueryOptionsArgs bigQueryOptions) {
            return bigQueryOptions(Output.of(bigQueryOptions));
        }

        /**
         * @param cloudStorageOptions Options defining a file or a set of files within a Google Cloud Storage bucket.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder cloudStorageOptions(@Nullable Output<PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs> cloudStorageOptions) {
            $.cloudStorageOptions = cloudStorageOptions;
            return this;
        }

        /**
         * @param cloudStorageOptions Options defining a file or a set of files within a Google Cloud Storage bucket.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder cloudStorageOptions(PreventionJobTriggerInspectJobStorageConfigCloudStorageOptionsArgs cloudStorageOptions) {
            return cloudStorageOptions(Output.of(cloudStorageOptions));
        }

        /**
         * @param datastoreOptions Options defining a data set within Google Cloud Datastore.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder datastoreOptions(@Nullable Output<PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs> datastoreOptions) {
            $.datastoreOptions = datastoreOptions;
            return this;
        }

        /**
         * @param datastoreOptions Options defining a data set within Google Cloud Datastore.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder datastoreOptions(PreventionJobTriggerInspectJobStorageConfigDatastoreOptionsArgs datastoreOptions) {
            return datastoreOptions(Output.of(datastoreOptions));
        }

        /**
         * @param hybridOptions Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder hybridOptions(@Nullable Output<PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs> hybridOptions) {
            $.hybridOptions = hybridOptions;
            return this;
        }

        /**
         * @param hybridOptions Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder hybridOptions(PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs hybridOptions) {
            return hybridOptions(Output.of(hybridOptions));
        }

        /**
         * @param timespanConfig Information on where to inspect
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder timespanConfig(@Nullable Output<PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs> timespanConfig) {
            $.timespanConfig = timespanConfig;
            return this;
        }

        /**
         * @param timespanConfig Information on where to inspect
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder timespanConfig(PreventionJobTriggerInspectJobStorageConfigTimespanConfigArgs timespanConfig) {
            return timespanConfig(Output.of(timespanConfig));
        }

        public PreventionJobTriggerInspectJobStorageConfigArgs build() {
            return $;
        }
    }

}
