Class DeletedShare
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.DeletedShare
-
public final class DeletedShare extends Object
The deleted share to be restored.
-
-
Constructor Summary
Constructors Constructor Description DeletedShare()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdeletedShareName()Get the deletedShareName property: Required.StringdeletedShareVersion()Get the deletedShareVersion property: Required.voidvalidate()Validates the instance.DeletedSharewithDeletedShareName(String deletedShareName)Set the deletedShareName property: Required.DeletedSharewithDeletedShareVersion(String deletedShareVersion)Set the deletedShareVersion property: Required.
-
-
-
Method Detail
-
deletedShareName
public String deletedShareName()
Get the deletedShareName property: Required. Identify the name of the deleted share that will be restored.- Returns:
- the deletedShareName value.
-
withDeletedShareName
public DeletedShare withDeletedShareName(String deletedShareName)
Set the deletedShareName property: Required. Identify the name of the deleted share that will be restored.- Parameters:
deletedShareName- the deletedShareName value to set.- Returns:
- the DeletedShare object itself.
-
deletedShareVersion
public String deletedShareVersion()
Get the deletedShareVersion property: Required. Identify the version of the deleted share that will be restored.- Returns:
- the deletedShareVersion value.
-
withDeletedShareVersion
public DeletedShare withDeletedShareVersion(String deletedShareVersion)
Set the deletedShareVersion property: Required. Identify the version of the deleted share that will be restored.- Parameters:
deletedShareVersion- the deletedShareVersion value to set.- Returns:
- the DeletedShare object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-