Class RestorePointCollectionUpdate

java.lang.Object
com.azure.resourcemanager.compute.models.UpdateResource
com.azure.resourcemanager.compute.models.RestorePointCollectionUpdate

public final class RestorePointCollectionUpdate extends UpdateResource
Update Restore Point collection parameters.
  • Constructor Details

    • RestorePointCollectionUpdate

      public RestorePointCollectionUpdate()
      Creates an instance of RestorePointCollectionUpdate class.
  • Method Details

    • withTags

      public RestorePointCollectionUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Overrides:
      withTags in class UpdateResource
      Parameters:
      tags - the tags value to set.
      Returns:
      the UpdateResource object itself.
    • source

      Get the source property: The properties of the source resource that this restore point collection is created from.
      Returns:
      the source value.
    • withSource

      Set the source property: The properties of the source resource that this restore point collection is created from.
      Parameters:
      source - the source value to set.
      Returns:
      the RestorePointCollectionUpdate object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state of the restore point collection.
      Returns:
      the provisioningState value.
    • restorePointCollectionId

      public String restorePointCollectionId()
      Get the restorePointCollectionId property: The unique id of the restore point collection.
      Returns:
      the restorePointCollectionId value.
    • restorePoints

      public List<RestorePointInner> restorePoints()
      Get the restorePoints property: A list containing all restore points created under this restore point collection.
      Returns:
      the restorePoints value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class UpdateResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.