public final class DeletedShare
extends Object
The deleted share to be restored.
-
Constructor Summary
Constructors
-
Method Summary
Get the deletedShareName property: Required.
Get the deletedShareVersion property: Required.
void
Set the deletedShareName property: Required.
Set the deletedShareVersion property: Required.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DeletedShare
public DeletedShare()
-
Method Details
-
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
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
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.