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

com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaIdArgs 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.securityhub.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final AutomationRuleCriteriaIdArgs Empty = new AutomationRuleCriteriaIdArgs();

    @Import(name="comparison", required=true)
    private Output comparison;

    public Output comparison() {
        return this.comparison;
    }

    @Import(name="value", required=true)
    private Output value;

    public Output value() {
        return this.value;
    }

    private AutomationRuleCriteriaIdArgs() {}

    private AutomationRuleCriteriaIdArgs(AutomationRuleCriteriaIdArgs $) {
        this.comparison = $.comparison;
        this.value = $.value;
    }

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

    public static final class Builder {
        private AutomationRuleCriteriaIdArgs $;

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

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

        public Builder comparison(Output comparison) {
            $.comparison = comparison;
            return this;
        }

        public Builder comparison(String comparison) {
            return comparison(Output.of(comparison));
        }

        public Builder value(Output value) {
            $.value = value;
            return this;
        }

        public Builder value(String value) {
            return value(Output.of(value));
        }

        public AutomationRuleCriteriaIdArgs build() {
            if ($.comparison == null) {
                throw new MissingRequiredPropertyException("AutomationRuleCriteriaIdArgs", "comparison");
            }
            if ($.value == null) {
                throw new MissingRequiredPropertyException("AutomationRuleCriteriaIdArgs", "value");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy