com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareProvisionIlrRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
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.
// 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