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

com.pulumi.scm.inputs.HipObjectCustomChecksArgs Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
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.scm.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.inputs.HipObjectCustomChecksCriteriaArgs;
import java.util.Objects;


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

    public static final HipObjectCustomChecksArgs Empty = new HipObjectCustomChecksArgs();

    /**
     * The Criteria param.
     * 
     */
    @Import(name="criteria", required=true)
    private Output criteria;

    /**
     * @return The Criteria param.
     * 
     */
    public Output criteria() {
        return this.criteria;
    }

    private HipObjectCustomChecksArgs() {}

    private HipObjectCustomChecksArgs(HipObjectCustomChecksArgs $) {
        this.criteria = $.criteria;
    }

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

    public static final class Builder {
        private HipObjectCustomChecksArgs $;

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

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

        /**
         * @param criteria The Criteria param.
         * 
         * @return builder
         * 
         */
        public Builder criteria(Output criteria) {
            $.criteria = criteria;
            return this;
        }

        /**
         * @param criteria The Criteria param.
         * 
         * @return builder
         * 
         */
        public Builder criteria(HipObjectCustomChecksCriteriaArgs criteria) {
            return criteria(Output.of(criteria));
        }

        public HipObjectCustomChecksArgs build() {
            if ($.criteria == null) {
                throw new MissingRequiredPropertyException("HipObjectCustomChecksArgs", "criteria");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy