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

/** Describes threat kill chain phase entity. */
@Fluent
public final class ThreatIntelligenceParsedPatternTypeValue {
    /*
     * Type of the value
     */
    @JsonProperty(value = "valueType")
    private String valueType;

    /*
     * Value of parsed pattern
     */
    @JsonProperty(value = "value")
    private String value;

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

    /**
     * Set the valueType property: Type of the value.
     *
     * @param valueType the valueType value to set.
     * @return the ThreatIntelligenceParsedPatternTypeValue object itself.
     */
    public ThreatIntelligenceParsedPatternTypeValue withValueType(String valueType) {
        this.valueType = valueType;
        return this;
    }

    /**
     * Get the value property: Value of parsed pattern.
     *
     * @return the value value.
     */
    public String value() {
        return this.value;
    }

    /**
     * Set the value property: Value of parsed pattern.
     *
     * @param value the value value to set.
     * @return the ThreatIntelligenceParsedPatternTypeValue object itself.
     */
    public ThreatIntelligenceParsedPatternTypeValue withValue(String value) {
        this.value = value;
        return this;
    }

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