Class RecoveryPointResourceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.RecoveryPointResourceInner

public final class RecoveryPointResourceInner extends com.azure.core.management.Resource
Base class for backup copies. Workload-specific backup copies are derived from this class.
  • Constructor Details

    • RecoveryPointResourceInner

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

    • properties

      public RecoveryPoint properties()
      Get the properties property: RecoveryPointResource properties.
      Returns:
      the properties value.
    • withProperties

      public RecoveryPointResourceInner withProperties(RecoveryPoint properties)
      Set the properties property: RecoveryPointResource properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the RecoveryPointResourceInner object itself.
    • etag

      public String etag()
      Get the etag property: Optional ETag.
      Returns:
      the etag value.
    • withEtag

      public RecoveryPointResourceInner withEtag(String etag)
      Set the etag property: Optional ETag.
      Parameters:
      etag - the etag value to set.
      Returns:
      the RecoveryPointResourceInner object itself.
    • withLocation

      public RecoveryPointResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public RecoveryPointResourceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

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