// 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;

/** Event grouping settings property bag. */
@Fluent
public final class EventGroupingSettings {
    /*
     * The event grouping aggregation kinds
     */
    @JsonProperty(value = "aggregationKind")
    private EventGroupingAggregationKind aggregationKind;

    /**
     * Get the aggregationKind property: The event grouping aggregation kinds.
     *
     * @return the aggregationKind value.
     */
    public EventGroupingAggregationKind aggregationKind() {
        return this.aggregationKind;
    }

    /**
     * Set the aggregationKind property: The event grouping aggregation kinds.
     *
     * @param aggregationKind the aggregationKind value to set.
     * @return the EventGroupingSettings object itself.
     */
    public EventGroupingSettings withAggregationKind(EventGroupingAggregationKind aggregationKind) {
        this.aggregationKind = aggregationKind;
        return this;
    }

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