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

package com.azure.resourcemanager.recoveryservicesbackup.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;

/** Update snapshot Uri with the correct friendly Name of the source Azure file share. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("AzureFileShareProvisionILRRequest")
@Fluent
public final class AzureFileShareProvisionIlrRequest extends IlrRequest {
    /*
     * Recovery point ID.
     */
    @JsonProperty(value = "recoveryPointId")
    private String recoveryPointId;

    /*
     * Source Storage account ARM Id
     */
    @JsonProperty(value = "sourceResourceId")
    private String sourceResourceId;

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

    /**
     * Get the recoveryPointId property: Recovery point ID.
     *
     * @return the recoveryPointId value.
     */
    public String recoveryPointId() {
        return this.recoveryPointId;
    }

    /**
     * Set the recoveryPointId property: Recovery point ID.
     *
     * @param recoveryPointId the recoveryPointId value to set.
     * @return the AzureFileShareProvisionIlrRequest object itself.
     */
    public AzureFileShareProvisionIlrRequest withRecoveryPointId(String recoveryPointId) {
        this.recoveryPointId = recoveryPointId;
        return this;
    }

    /**
     * Get the sourceResourceId property: Source Storage account ARM Id.
     *
     * @return the sourceResourceId value.
     */
    public String sourceResourceId() {
        return this.sourceResourceId;
    }

    /**
     * Set the sourceResourceId property: Source Storage account ARM Id.
     *
     * @param sourceResourceId the sourceResourceId value to set.
     * @return the AzureFileShareProvisionIlrRequest object itself.
     */
    public AzureFileShareProvisionIlrRequest withSourceResourceId(String sourceResourceId) {
        this.sourceResourceId = sourceResourceId;
        return this;
    }

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