Class DeletedShare


  • public final class DeletedShare
    extends Object
    The deleted share to be restored.
    • Constructor Detail

      • DeletedShare

        public DeletedShare()
    • 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.