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

com.pulumi.azurenative.securityinsights.outputs.PropertyArrayChangedConditionPropertiesResponse Maven / Gradle / Ivy

// *** 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.outputs;

import com.pulumi.azurenative.securityinsights.outputs.AutomationRulePropertyArrayChangedValuesConditionResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PropertyArrayChangedConditionPropertiesResponse {
    private @Nullable AutomationRulePropertyArrayChangedValuesConditionResponse conditionProperties;
    /**
     * @return
     * Expected value is 'PropertyArrayChanged'.
     * 
     */
    private String conditionType;

    private PropertyArrayChangedConditionPropertiesResponse() {}
    public Optional conditionProperties() {
        return Optional.ofNullable(this.conditionProperties);
    }
    /**
     * @return
     * Expected value is 'PropertyArrayChanged'.
     * 
     */
    public String conditionType() {
        return this.conditionType;
    }

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

    public static Builder builder(PropertyArrayChangedConditionPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable AutomationRulePropertyArrayChangedValuesConditionResponse conditionProperties;
        private String conditionType;
        public Builder() {}
        public Builder(PropertyArrayChangedConditionPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.conditionProperties = defaults.conditionProperties;
    	      this.conditionType = defaults.conditionType;
        }

        @CustomType.Setter
        public Builder conditionProperties(@Nullable AutomationRulePropertyArrayChangedValuesConditionResponse conditionProperties) {

            this.conditionProperties = conditionProperties;
            return this;
        }
        @CustomType.Setter
        public Builder conditionType(String conditionType) {
            if (conditionType == null) {
              throw new MissingRequiredPropertyException("PropertyArrayChangedConditionPropertiesResponse", "conditionType");
            }
            this.conditionType = conditionType;
            return this;
        }
        public PropertyArrayChangedConditionPropertiesResponse build() {
            final var _resultValue = new PropertyArrayChangedConditionPropertiesResponse();
            _resultValue.conditionProperties = conditionProperties;
            _resultValue.conditionType = conditionType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy