// 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.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.securityinsights.models.EntityCommonProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Malware entity property bag. */
@Immutable
public final class MalwareEntityProperties extends EntityCommonProperties {
    /*
     * The malware category by the vendor, e.g. Trojan
     */
    @JsonProperty(value = "category", access = JsonProperty.Access.WRITE_ONLY)
    private String category;

    /*
     * List of linked file entity identifiers on which the malware was found
     */
    @JsonProperty(value = "fileEntityIds", access = JsonProperty.Access.WRITE_ONLY)
    private List<String> fileEntityIds;

    /*
     * The malware name by the vendor, e.g. Win32/Toga!rfn
     */
    @JsonProperty(value = "malwareName", access = JsonProperty.Access.WRITE_ONLY)
    private String malwareName;

    /*
     * List of linked process entity identifiers on which the malware was found.
     */
    @JsonProperty(value = "processEntityIds", access = JsonProperty.Access.WRITE_ONLY)
    private List<String> processEntityIds;

    /**
     * Get the category property: The malware category by the vendor, e.g. Trojan.
     *
     * @return the category value.
     */
    public String category() {
        return this.category;
    }

    /**
     * Get the fileEntityIds property: List of linked file entity identifiers on which the malware was found.
     *
     * @return the fileEntityIds value.
     */
    public List<String> fileEntityIds() {
        return this.fileEntityIds;
    }

    /**
     * Get the malwareName property: The malware name by the vendor, e.g. Win32/Toga!rfn.
     *
     * @return the malwareName value.
     */
    public String malwareName() {
        return this.malwareName;
    }

    /**
     * Get the processEntityIds property: List of linked process entity identifiers on which the malware was found.
     *
     * @return the processEntityIds value.
     */
    public List<String> processEntityIds() {
        return this.processEntityIds;
    }

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