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

com.pulumi.azurenative.security.outputs.AutomationTriggeringRuleResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.security.outputs;

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

@CustomType
public final class AutomationTriggeringRuleResponse {
    /**
     * @return The expected value.
     * 
     */
    private @Nullable String expectedValue;
    /**
     * @return A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.
     * 
     */
    private @Nullable String operator;
    /**
     * @return The JPath of the entity model property that should be checked.
     * 
     */
    private @Nullable String propertyJPath;
    /**
     * @return The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]
     * 
     */
    private @Nullable String propertyType;

    private AutomationTriggeringRuleResponse() {}
    /**
     * @return The expected value.
     * 
     */
    public Optional expectedValue() {
        return Optional.ofNullable(this.expectedValue);
    }
    /**
     * @return A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.
     * 
     */
    public Optional operator() {
        return Optional.ofNullable(this.operator);
    }
    /**
     * @return The JPath of the entity model property that should be checked.
     * 
     */
    public Optional propertyJPath() {
        return Optional.ofNullable(this.propertyJPath);
    }
    /**
     * @return The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]
     * 
     */
    public Optional propertyType() {
        return Optional.ofNullable(this.propertyType);
    }

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

    public static Builder builder(AutomationTriggeringRuleResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String expectedValue;
        private @Nullable String operator;
        private @Nullable String propertyJPath;
        private @Nullable String propertyType;
        public Builder() {}
        public Builder(AutomationTriggeringRuleResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.expectedValue = defaults.expectedValue;
    	      this.operator = defaults.operator;
    	      this.propertyJPath = defaults.propertyJPath;
    	      this.propertyType = defaults.propertyType;
        }

        @CustomType.Setter
        public Builder expectedValue(@Nullable String expectedValue) {

            this.expectedValue = expectedValue;
            return this;
        }
        @CustomType.Setter
        public Builder operator(@Nullable String operator) {

            this.operator = operator;
            return this;
        }
        @CustomType.Setter
        public Builder propertyJPath(@Nullable String propertyJPath) {

            this.propertyJPath = propertyJPath;
            return this;
        }
        @CustomType.Setter
        public Builder propertyType(@Nullable String propertyType) {

            this.propertyType = propertyType;
            return this;
        }
        public AutomationTriggeringRuleResponse build() {
            final var _resultValue = new AutomationTriggeringRuleResponse();
            _resultValue.expectedValue = expectedValue;
            _resultValue.operator = operator;
            _resultValue.propertyJPath = propertyJPath;
            _resultValue.propertyType = propertyType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy