All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareProvisionIlrRequest Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.

There is a newer version: 1.5.0
Show newest version
// 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();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy