// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datamigration.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Database migration errors for online migration. */
@Immutable
public final class SyncMigrationDatabaseErrorEvent {
    /*
     * String value of timestamp.
     */
    @JsonProperty(value = "timestampString", access = JsonProperty.Access.WRITE_ONLY)
    private String timestampString;

    /*
     * Event type.
     */
    @JsonProperty(value = "eventTypeString", access = JsonProperty.Access.WRITE_ONLY)
    private String eventTypeString;

    /*
     * Event text.
     */
    @JsonProperty(value = "eventText", access = JsonProperty.Access.WRITE_ONLY)
    private String eventText;

    /** Creates an instance of SyncMigrationDatabaseErrorEvent class. */
    public SyncMigrationDatabaseErrorEvent() {
    }

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

    /**
     * Get the eventTypeString property: Event type.
     *
     * @return the eventTypeString value.
     */
    public String eventTypeString() {
        return this.eventTypeString;
    }

    /**
     * Get the eventText property: Event text.
     *
     * @return the eventText value.
     */
    public String eventText() {
        return this.eventText;
    }

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