// 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.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** InMage Azure V2 provider specific recovery point details. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("InMageAzureV2")
@Fluent
public final class InMageAzureV2RecoveryPointDetails extends ProviderSpecificRecoveryPointDetails {
    /*
     * A value indicating whether the recovery point is multi VM consistent.
     */
    @JsonProperty(value = "isMultiVmSyncPoint")
    private String isMultiVmSyncPoint;

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

    /**
     * Get the isMultiVmSyncPoint property: A value indicating whether the recovery point is multi VM consistent.
     *
     * @return the isMultiVmSyncPoint value.
     */
    public String isMultiVmSyncPoint() {
        return this.isMultiVmSyncPoint;
    }

    /**
     * Set the isMultiVmSyncPoint property: A value indicating whether the recovery point is multi VM consistent.
     *
     * @param isMultiVmSyncPoint the isMultiVmSyncPoint value to set.
     * @return the InMageAzureV2RecoveryPointDetails object itself.
     */
    public InMageAzureV2RecoveryPointDetails withIsMultiVmSyncPoint(String isMultiVmSyncPoint) {
        this.isMultiVmSyncPoint = isMultiVmSyncPoint;
        return this;
    }

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