Class WorkloadItemResourceInner

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

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

    • WorkloadItemResourceInner

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

    • properties

      public WorkloadItem properties()
      Get the properties property: WorkloadItemResource properties.
      Returns:
      the properties value.
    • withProperties

      public WorkloadItemResourceInner withProperties(WorkloadItem properties)
      Set the properties property: WorkloadItemResource properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the WorkloadItemResourceInner object itself.
    • etag

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

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

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

      public WorkloadItemResourceInner 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.