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

package com.azure.resourcemanager.netapp.models;

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

/** Re-establish request object supplied in the body of the operation. */
@Fluent
public final class ReestablishReplicationRequest {
    /*
     * Resource id of the source volume for the replication
     */
    @JsonProperty(value = "sourceVolumeId")
    private String sourceVolumeId;

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

    /**
     * Get the sourceVolumeId property: Resource id of the source volume for the replication.
     *
     * @return the sourceVolumeId value.
     */
    public String sourceVolumeId() {
        return this.sourceVolumeId;
    }

    /**
     * Set the sourceVolumeId property: Resource id of the source volume for the replication.
     *
     * @param sourceVolumeId the sourceVolumeId value to set.
     * @return the ReestablishReplicationRequest object itself.
     */
    public ReestablishReplicationRequest withSourceVolumeId(String sourceVolumeId) {
        this.sourceVolumeId = sourceVolumeId;
        return this;
    }

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