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

com.pulumi.azurenative.awsconnector.inputs.CriteriaForJobArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.SimpleCriterionForJobArgs;
import com.pulumi.azurenative.awsconnector.inputs.TagCriterionForJobArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of CriteriaForJob
 * 
 */
public final class CriteriaForJobArgs extends com.pulumi.resources.ResourceArgs {

    public static final CriteriaForJobArgs Empty = new CriteriaForJobArgs();

    /**
     * <p>A property-based condition that defines a property, operator, and one or more values for including or excluding buckets from the job.</p>
     * 
     */
    @Import(name="simpleCriterion")
    private @Nullable Output simpleCriterion;

    /**
     * @return <p>A property-based condition that defines a property, operator, and one or more values for including or excluding buckets from the job.</p>
     * 
     */
    public Optional> simpleCriterion() {
        return Optional.ofNullable(this.simpleCriterion);
    }

    /**
     * <p>A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding buckets from the job.</p>
     * 
     */
    @Import(name="tagCriterion")
    private @Nullable Output tagCriterion;

    /**
     * @return <p>A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding buckets from the job.</p>
     * 
     */
    public Optional> tagCriterion() {
        return Optional.ofNullable(this.tagCriterion);
    }

    private CriteriaForJobArgs() {}

    private CriteriaForJobArgs(CriteriaForJobArgs $) {
        this.simpleCriterion = $.simpleCriterion;
        this.tagCriterion = $.tagCriterion;
    }

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

    public static final class Builder {
        private CriteriaForJobArgs $;

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

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

        /**
         * @param simpleCriterion <p>A property-based condition that defines a property, operator, and one or more values for including or excluding buckets from the job.</p>
         * 
         * @return builder
         * 
         */
        public Builder simpleCriterion(@Nullable Output simpleCriterion) {
            $.simpleCriterion = simpleCriterion;
            return this;
        }

        /**
         * @param simpleCriterion <p>A property-based condition that defines a property, operator, and one or more values for including or excluding buckets from the job.</p>
         * 
         * @return builder
         * 
         */
        public Builder simpleCriterion(SimpleCriterionForJobArgs simpleCriterion) {
            return simpleCriterion(Output.of(simpleCriterion));
        }

        /**
         * @param tagCriterion <p>A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding buckets from the job.</p>
         * 
         * @return builder
         * 
         */
        public Builder tagCriterion(@Nullable Output tagCriterion) {
            $.tagCriterion = tagCriterion;
            return this;
        }

        /**
         * @param tagCriterion <p>A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding buckets from the job.</p>
         * 
         * @return builder
         * 
         */
        public Builder tagCriterion(TagCriterionForJobArgs tagCriterion) {
            return tagCriterion(Output.of(tagCriterion));
        }

        public CriteriaForJobArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy