Class RestoreRequestResource


  • public final class RestoreRequestResource
    extends com.azure.core.management.Resource
    Base class for restore request. Workload-specific restore requests are derived from this class.
    • Constructor Detail

      • RestoreRequestResource

        public RestoreRequestResource()
    • Method Detail

      • properties

        public RestoreRequest properties()
        Get the properties property: RestoreRequestResource properties.
        Returns:
        the properties value.
      • withProperties

        public RestoreRequestResource withProperties​(RestoreRequest properties)
        Set the properties property: RestoreRequestResource properties.
        Parameters:
        properties - the properties value to set.
        Returns:
        the RestoreRequestResource object itself.
      • etag

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

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

        public RestoreRequestResource withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • validate

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