// 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;
import java.util.List;

/** Describes threat granular marking model entity. */
@Fluent
public final class ThreatIntelligenceGranularMarkingModel {
    /*
     * Language granular marking model
     */
    @JsonProperty(value = "language")
    private String language;

    /*
     * marking reference granular marking model
     */
    @JsonProperty(value = "markingRef")
    private Integer markingRef;

    /*
     * granular marking model selectors
     */
    @JsonProperty(value = "selectors")
    private List<String> selectors;

    /**
     * Get the language property: Language granular marking model.
     *
     * @return the language value.
     */
    public String language() {
        return this.language;
    }

    /**
     * Set the language property: Language granular marking model.
     *
     * @param language the language value to set.
     * @return the ThreatIntelligenceGranularMarkingModel object itself.
     */
    public ThreatIntelligenceGranularMarkingModel withLanguage(String language) {
        this.language = language;
        return this;
    }

    /**
     * Get the markingRef property: marking reference granular marking model.
     *
     * @return the markingRef value.
     */
    public Integer markingRef() {
        return this.markingRef;
    }

    /**
     * Set the markingRef property: marking reference granular marking model.
     *
     * @param markingRef the markingRef value to set.
     * @return the ThreatIntelligenceGranularMarkingModel object itself.
     */
    public ThreatIntelligenceGranularMarkingModel withMarkingRef(Integer markingRef) {
        this.markingRef = markingRef;
        return this;
    }

    /**
     * Get the selectors property: granular marking model selectors.
     *
     * @return the selectors value.
     */
    public List<String> selectors() {
        return this.selectors;
    }

    /**
     * Set the selectors property: granular marking model selectors.
     *
     * @param selectors the selectors value to set.
     * @return the ThreatIntelligenceGranularMarkingModel object itself.
     */
    public ThreatIntelligenceGranularMarkingModel withSelectors(List<String> selectors) {
        this.selectors = selectors;
        return this;
    }

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