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

/** Settings for how to dynamically override alert static details. */
@Fluent
public final class AlertDetailsOverride {
    /*
     * the format containing columns name(s) to override the alert name
     */
    @JsonProperty(value = "alertDisplayNameFormat")
    private String alertDisplayNameFormat;

    /*
     * the format containing columns name(s) to override the alert description
     */
    @JsonProperty(value = "alertDescriptionFormat")
    private String alertDescriptionFormat;

    /*
     * the column name to take the alert tactics from
     */
    @JsonProperty(value = "alertTacticsColumnName")
    private String alertTacticsColumnName;

    /*
     * the column name to take the alert severity from
     */
    @JsonProperty(value = "alertSeverityColumnName")
    private String alertSeverityColumnName;

    /**
     * Get the alertDisplayNameFormat property: the format containing columns name(s) to override the alert name.
     *
     * @return the alertDisplayNameFormat value.
     */
    public String alertDisplayNameFormat() {
        return this.alertDisplayNameFormat;
    }

    /**
     * Set the alertDisplayNameFormat property: the format containing columns name(s) to override the alert name.
     *
     * @param alertDisplayNameFormat the alertDisplayNameFormat value to set.
     * @return the AlertDetailsOverride object itself.
     */
    public AlertDetailsOverride withAlertDisplayNameFormat(String alertDisplayNameFormat) {
        this.alertDisplayNameFormat = alertDisplayNameFormat;
        return this;
    }

    /**
     * Get the alertDescriptionFormat property: the format containing columns name(s) to override the alert description.
     *
     * @return the alertDescriptionFormat value.
     */
    public String alertDescriptionFormat() {
        return this.alertDescriptionFormat;
    }

    /**
     * Set the alertDescriptionFormat property: the format containing columns name(s) to override the alert description.
     *
     * @param alertDescriptionFormat the alertDescriptionFormat value to set.
     * @return the AlertDetailsOverride object itself.
     */
    public AlertDetailsOverride withAlertDescriptionFormat(String alertDescriptionFormat) {
        this.alertDescriptionFormat = alertDescriptionFormat;
        return this;
    }

    /**
     * Get the alertTacticsColumnName property: the column name to take the alert tactics from.
     *
     * @return the alertTacticsColumnName value.
     */
    public String alertTacticsColumnName() {
        return this.alertTacticsColumnName;
    }

    /**
     * Set the alertTacticsColumnName property: the column name to take the alert tactics from.
     *
     * @param alertTacticsColumnName the alertTacticsColumnName value to set.
     * @return the AlertDetailsOverride object itself.
     */
    public AlertDetailsOverride withAlertTacticsColumnName(String alertTacticsColumnName) {
        this.alertTacticsColumnName = alertTacticsColumnName;
        return this;
    }

    /**
     * Get the alertSeverityColumnName property: the column name to take the alert severity from.
     *
     * @return the alertSeverityColumnName value.
     */
    public String alertSeverityColumnName() {
        return this.alertSeverityColumnName;
    }

    /**
     * Set the alertSeverityColumnName property: the column name to take the alert severity from.
     *
     * @param alertSeverityColumnName the alertSeverityColumnName value to set.
     * @return the AlertDetailsOverride object itself.
     */
    public AlertDetailsOverride withAlertSeverityColumnName(String alertSeverityColumnName) {
        this.alertSeverityColumnName = alertSeverityColumnName;
        return this;
    }

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