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

/** Map identifiers of a single entity. */
@Fluent
public final class EntityFieldMapping {
    /*
     * Alert V3 identifier
     */
    @JsonProperty(value = "identifier")
    private String identifier;

    /*
     * The value of the identifier
     */
    @JsonProperty(value = "value")
    private String value;

    /**
     * Get the identifier property: Alert V3 identifier.
     *
     * @return the identifier value.
     */
    public String identifier() {
        return this.identifier;
    }

    /**
     * Set the identifier property: Alert V3 identifier.
     *
     * @param identifier the identifier value to set.
     * @return the EntityFieldMapping object itself.
     */
    public EntityFieldMapping withIdentifier(String identifier) {
        this.identifier = identifier;
        return this;
    }

    /**
     * Get the value property: The value of the identifier.
     *
     * @return the value value.
     */
    public String value() {
        return this.value;
    }

    /**
     * Set the value property: The value of the identifier.
     *
     * @param value the value value to set.
     * @return the EntityFieldMapping object itself.
     */
    public EntityFieldMapping withValue(String value) {
        this.value = value;
        return this;
    }

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