// *** 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.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs Empty = new PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs();

    /**
     * A short description of where the data is coming from. Will be stored once in the job. 256 max length.
     * 
     */
    @Import(name="description")
    private @Nullable Output<String> description;

    /**
     * @return A short description of where the data is coming from. Will be stored once in the job. 256 max length.
     * 
     */
    public Optional<Output<String>> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * To organize findings, these labels will be added to each finding.
     * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
     * Label values must be between 0 and 63 characters long and must conform to the regular expression `(a-z?)?`.
     * No more than 10 labels can be associated with a given finding.
     * Examples:
     * * `&#34;environment&#34; : &#34;production&#34;`
     * * `&#34;pipeline&#34; : &#34;etl&#34;`
     * 
     */
    @Import(name="labels")
    private @Nullable Output<Map<String,String>> labels;

    /**
     * @return To organize findings, these labels will be added to each finding.
     * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
     * Label values must be between 0 and 63 characters long and must conform to the regular expression `(a-z?)?`.
     * No more than 10 labels can be associated with a given finding.
     * Examples:
     * * `&#34;environment&#34; : &#34;production&#34;`
     * * `&#34;pipeline&#34; : &#34;etl&#34;`
     * 
     */
    public Optional<Output<Map<String,String>>> labels() {
        return Optional.ofNullable(this.labels);
    }

    /**
     * These are labels that each inspection request must include within their &#39;finding_labels&#39; map. Request
     * may contain others, but any missing one of these will be rejected.
     * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
     * No more than 10 keys can be required.
     * 
     */
    @Import(name="requiredFindingLabelKeys")
    private @Nullable Output<List<String>> requiredFindingLabelKeys;

    /**
     * @return These are labels that each inspection request must include within their &#39;finding_labels&#39; map. Request
     * may contain others, but any missing one of these will be rejected.
     * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
     * No more than 10 keys can be required.
     * 
     */
    public Optional<Output<List<String>>> requiredFindingLabelKeys() {
        return Optional.ofNullable(this.requiredFindingLabelKeys);
    }

    /**
     * If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
     * Structure is documented below.
     * 
     */
    @Import(name="tableOptions")
    private @Nullable Output<PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs> tableOptions;

    /**
     * @return If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
     * Structure is documented below.
     * 
     */
    public Optional<Output<PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs>> tableOptions() {
        return Optional.ofNullable(this.tableOptions);
    }

    private PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs() {}

    private PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs(PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs $) {
        this.description = $.description;
        this.labels = $.labels;
        this.requiredFindingLabelKeys = $.requiredFindingLabelKeys;
        this.tableOptions = $.tableOptions;
    }

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

    public static final class Builder {
        private PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs $;

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

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

        /**
         * @param description A short description of where the data is coming from. Will be stored once in the job. 256 max length.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output<String> description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A short description of where the data is coming from. Will be stored once in the job. 256 max length.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param labels To organize findings, these labels will be added to each finding.
         * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
         * Label values must be between 0 and 63 characters long and must conform to the regular expression `(a-z?)?`.
         * No more than 10 labels can be associated with a given finding.
         * Examples:
         * * `&#34;environment&#34; : &#34;production&#34;`
         * * `&#34;pipeline&#34; : &#34;etl&#34;`
         * 
         * @return builder
         * 
         */
        public Builder labels(@Nullable Output<Map<String,String>> labels) {
            $.labels = labels;
            return this;
        }

        /**
         * @param labels To organize findings, these labels will be added to each finding.
         * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
         * Label values must be between 0 and 63 characters long and must conform to the regular expression `(a-z?)?`.
         * No more than 10 labels can be associated with a given finding.
         * Examples:
         * * `&#34;environment&#34; : &#34;production&#34;`
         * * `&#34;pipeline&#34; : &#34;etl&#34;`
         * 
         * @return builder
         * 
         */
        public Builder labels(Map<String,String> labels) {
            return labels(Output.of(labels));
        }

        /**
         * @param requiredFindingLabelKeys These are labels that each inspection request must include within their &#39;finding_labels&#39; map. Request
         * may contain others, but any missing one of these will be rejected.
         * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
         * No more than 10 keys can be required.
         * 
         * @return builder
         * 
         */
        public Builder requiredFindingLabelKeys(@Nullable Output<List<String>> requiredFindingLabelKeys) {
            $.requiredFindingLabelKeys = requiredFindingLabelKeys;
            return this;
        }

        /**
         * @param requiredFindingLabelKeys These are labels that each inspection request must include within their &#39;finding_labels&#39; map. Request
         * may contain others, but any missing one of these will be rejected.
         * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
         * No more than 10 keys can be required.
         * 
         * @return builder
         * 
         */
        public Builder requiredFindingLabelKeys(List<String> requiredFindingLabelKeys) {
            return requiredFindingLabelKeys(Output.of(requiredFindingLabelKeys));
        }

        /**
         * @param requiredFindingLabelKeys These are labels that each inspection request must include within their &#39;finding_labels&#39; map. Request
         * may contain others, but any missing one of these will be rejected.
         * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
         * No more than 10 keys can be required.
         * 
         * @return builder
         * 
         */
        public Builder requiredFindingLabelKeys(String... requiredFindingLabelKeys) {
            return requiredFindingLabelKeys(List.of(requiredFindingLabelKeys));
        }

        /**
         * @param tableOptions If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder tableOptions(@Nullable Output<PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs> tableOptions) {
            $.tableOptions = tableOptions;
            return this;
        }

        /**
         * @param tableOptions If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder tableOptions(PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptionsArgs tableOptions) {
            return tableOptions(Output.of(tableOptions));
        }

        public PreventionJobTriggerInspectJobStorageConfigHybridOptionsArgs build() {
            return $;
        }
    }

}
