// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.securityinsights.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The AutomationRulePropertyArrayChangedValuesCondition model. */
@Fluent
public final class AutomationRulePropertyArrayChangedValuesCondition {
    /*
     * The arrayType property.
     */
    @JsonProperty(value = "arrayType")
    private AutomationRulePropertyArrayChangedConditionSupportedArrayType arrayType;

    /*
     * The changeType property.
     */
    @JsonProperty(value = "changeType")
    private AutomationRulePropertyArrayChangedConditionSupportedChangeType changeType;

    /**
     * Get the arrayType property: The arrayType property.
     *
     * @return the arrayType value.
     */
    public AutomationRulePropertyArrayChangedConditionSupportedArrayType arrayType() {
        return this.arrayType;
    }

    /**
     * Set the arrayType property: The arrayType property.
     *
     * @param arrayType the arrayType value to set.
     * @return the AutomationRulePropertyArrayChangedValuesCondition object itself.
     */
    public AutomationRulePropertyArrayChangedValuesCondition withArrayType(
        AutomationRulePropertyArrayChangedConditionSupportedArrayType arrayType) {
        this.arrayType = arrayType;
        return this;
    }

    /**
     * Get the changeType property: The changeType property.
     *
     * @return the changeType value.
     */
    public AutomationRulePropertyArrayChangedConditionSupportedChangeType changeType() {
        return this.changeType;
    }

    /**
     * Set the changeType property: The changeType property.
     *
     * @param changeType the changeType value to set.
     * @return the AutomationRulePropertyArrayChangedValuesCondition object itself.
     */
    public AutomationRulePropertyArrayChangedValuesCondition withChangeType(
        AutomationRulePropertyArrayChangedConditionSupportedChangeType changeType) {
        this.changeType = changeType;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
