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

com.pulumi.azurenative.securityinsights.inputs.AutomationRulePropertyValuesChangedConditionArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.securityinsights.inputs;

import com.pulumi.azurenative.securityinsights.enums.AutomationRulePropertyChangedConditionSupportedChangedType;
import com.pulumi.azurenative.securityinsights.enums.AutomationRulePropertyChangedConditionSupportedPropertyType;
import com.pulumi.azurenative.securityinsights.enums.AutomationRulePropertyConditionSupportedOperator;
import com.pulumi.core.Either;
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 AutomationRulePropertyValuesChangedConditionArgs extends com.pulumi.resources.ResourceArgs {

    public static final AutomationRulePropertyValuesChangedConditionArgs Empty = new AutomationRulePropertyValuesChangedConditionArgs();

    @Import(name="changeType")
    private @Nullable Output> changeType;

    public Optional>> changeType() {
        return Optional.ofNullable(this.changeType);
    }

    @Import(name="operator")
    private @Nullable Output> operator;

    public Optional>> operator() {
        return Optional.ofNullable(this.operator);
    }

    @Import(name="propertyName")
    private @Nullable Output> propertyName;

    public Optional>> propertyName() {
        return Optional.ofNullable(this.propertyName);
    }

    @Import(name="propertyValues")
    private @Nullable Output> propertyValues;

    public Optional>> propertyValues() {
        return Optional.ofNullable(this.propertyValues);
    }

    private AutomationRulePropertyValuesChangedConditionArgs() {}

    private AutomationRulePropertyValuesChangedConditionArgs(AutomationRulePropertyValuesChangedConditionArgs $) {
        this.changeType = $.changeType;
        this.operator = $.operator;
        this.propertyName = $.propertyName;
        this.propertyValues = $.propertyValues;
    }

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

    public static final class Builder {
        private AutomationRulePropertyValuesChangedConditionArgs $;

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

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

        public Builder changeType(@Nullable Output> changeType) {
            $.changeType = changeType;
            return this;
        }

        public Builder changeType(Either changeType) {
            return changeType(Output.of(changeType));
        }

        public Builder changeType(String changeType) {
            return changeType(Either.ofLeft(changeType));
        }

        public Builder changeType(AutomationRulePropertyChangedConditionSupportedChangedType changeType) {
            return changeType(Either.ofRight(changeType));
        }

        public Builder operator(@Nullable Output> operator) {
            $.operator = operator;
            return this;
        }

        public Builder operator(Either operator) {
            return operator(Output.of(operator));
        }

        public Builder operator(String operator) {
            return operator(Either.ofLeft(operator));
        }

        public Builder operator(AutomationRulePropertyConditionSupportedOperator operator) {
            return operator(Either.ofRight(operator));
        }

        public Builder propertyName(@Nullable Output> propertyName) {
            $.propertyName = propertyName;
            return this;
        }

        public Builder propertyName(Either propertyName) {
            return propertyName(Output.of(propertyName));
        }

        public Builder propertyName(String propertyName) {
            return propertyName(Either.ofLeft(propertyName));
        }

        public Builder propertyName(AutomationRulePropertyChangedConditionSupportedPropertyType propertyName) {
            return propertyName(Either.ofRight(propertyName));
        }

        public Builder propertyValues(@Nullable Output> propertyValues) {
            $.propertyValues = propertyValues;
            return this;
        }

        public Builder propertyValues(List propertyValues) {
            return propertyValues(Output.of(propertyValues));
        }

        public Builder propertyValues(String... propertyValues) {
            return propertyValues(List.of(propertyValues));
        }

        public AutomationRulePropertyValuesChangedConditionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy