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

com.pulumi.aws.macie2.inputs.ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs 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.macie2.inputs;

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


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

    public static final ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs Empty = new ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs();

    /**
     * The operator to use in a condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-jobcomparator)
     * 
     */
    @Import(name="comparator")
    private @Nullable Output comparator;

    /**
     * @return The operator to use in a condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-jobcomparator)
     * 
     */
    public Optional> comparator() {
        return Optional.ofNullable(this.comparator);
    }

    /**
     * The object property to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionkeyforjob)
     * 
     */
    @Import(name="key")
    private @Nullable Output key;

    /**
     * @return The object property to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionkeyforjob)
     * 
     */
    public Optional> key() {
        return Optional.ofNullable(this.key);
    }

    /**
     * An array that lists the values to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionforjob)
     * 
     */
    @Import(name="values")
    private @Nullable Output> values;

    /**
     * @return An array that lists the values to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionforjob)
     * 
     */
    public Optional>> values() {
        return Optional.ofNullable(this.values);
    }

    private ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs() {}

    private ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs(ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs $) {
        this.comparator = $.comparator;
        this.key = $.key;
        this.values = $.values;
    }

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

    public static final class Builder {
        private ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs $;

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

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

        /**
         * @param comparator The operator to use in a condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-jobcomparator)
         * 
         * @return builder
         * 
         */
        public Builder comparator(@Nullable Output comparator) {
            $.comparator = comparator;
            return this;
        }

        /**
         * @param comparator The operator to use in a condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-jobcomparator)
         * 
         * @return builder
         * 
         */
        public Builder comparator(String comparator) {
            return comparator(Output.of(comparator));
        }

        /**
         * @param key The object property to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionkeyforjob)
         * 
         * @return builder
         * 
         */
        public Builder key(@Nullable Output key) {
            $.key = key;
            return this;
        }

        /**
         * @param key The object property to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionkeyforjob)
         * 
         * @return builder
         * 
         */
        public Builder key(String key) {
            return key(Output.of(key));
        }

        /**
         * @param values An array that lists the values to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionforjob)
         * 
         * @return builder
         * 
         */
        public Builder values(@Nullable Output> values) {
            $.values = values;
            return this;
        }

        /**
         * @param values An array that lists the values to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionforjob)
         * 
         * @return builder
         * 
         */
        public Builder values(List values) {
            return values(Output.of(values));
        }

        /**
         * @param values An array that lists the values to use in the condition. Valid combination of values are available in the [AWS Documentation](https://docs.aws.amazon.com/macie/latest/APIReference/jobs.html#jobs-model-simplecriterionforjob)
         * 
         * @return builder
         * 
         */
        public Builder values(String... values) {
            return values(List.of(values));
        }

        public ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy