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

package com.azure.resourcemanager.recoveryservicessiterecovery.models;

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

/** Event details for VMwareCbt provider. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("VMwareCbt")
@Immutable
public final class VMwareCbtEventDetails extends EventProviderSpecificDetails {
    /*
     * The migration item name.
     */
    @JsonProperty(value = "migrationItemName", access = JsonProperty.Access.WRITE_ONLY)
    private String migrationItemName;

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

    /**
     * Get the migrationItemName property: The migration item name.
     *
     * @return the migrationItemName value.
     */
    public String migrationItemName() {
        return this.migrationItemName;
    }

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