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

import com.pulumi.aws.macie2.inputs.ClassificationJobS3JobDefinitionScopingExcludesAndArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClassificationJobS3JobDefinitionScopingExcludesArgs Empty = new ClassificationJobS3JobDefinitionScopingExcludesArgs();

    /**
     * An array of conditions, one for each condition that determines which objects to include or exclude from the job. (documented below)
     * 
     */
    @Import(name="ands")
    private @Nullable Output<List<ClassificationJobS3JobDefinitionScopingExcludesAndArgs>> ands;

    /**
     * @return An array of conditions, one for each condition that determines which objects to include or exclude from the job. (documented below)
     * 
     */
    public Optional<Output<List<ClassificationJobS3JobDefinitionScopingExcludesAndArgs>>> ands() {
        return Optional.ofNullable(this.ands);
    }

    private ClassificationJobS3JobDefinitionScopingExcludesArgs() {}

    private ClassificationJobS3JobDefinitionScopingExcludesArgs(ClassificationJobS3JobDefinitionScopingExcludesArgs $) {
        this.ands = $.ands;
    }

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

    public static final class Builder {
        private ClassificationJobS3JobDefinitionScopingExcludesArgs $;

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

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

        /**
         * @param ands An array of conditions, one for each condition that determines which objects to include or exclude from the job. (documented below)
         * 
         * @return builder
         * 
         */
        public Builder ands(@Nullable Output<List<ClassificationJobS3JobDefinitionScopingExcludesAndArgs>> ands) {
            $.ands = ands;
            return this;
        }

        /**
         * @param ands An array of conditions, one for each condition that determines which objects to include or exclude from the job. (documented below)
         * 
         * @return builder
         * 
         */
        public Builder ands(List<ClassificationJobS3JobDefinitionScopingExcludesAndArgs> ands) {
            return ands(Output.of(ands));
        }

        /**
         * @param ands An array of conditions, one for each condition that determines which objects to include or exclude from the job. (documented below)
         * 
         * @return builder
         * 
         */
        public Builder ands(ClassificationJobS3JobDefinitionScopingExcludesAndArgs... ands) {
            return ands(List.of(ands));
        }

        public ClassificationJobS3JobDefinitionScopingExcludesArgs build() {
            return $;
        }
    }

}
