Class BackupStatusRequest

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupStatusRequest

public final class BackupStatusRequest extends Object
BackupStatus request.
  • Constructor Details

    • BackupStatusRequest

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

    • resourceType

      public DataSourceType resourceType()
      Get the resourceType property: Container Type - VM, SQLPaaS, DPM, AzureFileShare...
      Returns:
      the resourceType value.
    • withResourceType

      public BackupStatusRequest withResourceType(DataSourceType resourceType)
      Set the resourceType property: Container Type - VM, SQLPaaS, DPM, AzureFileShare...
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the BackupStatusRequest object itself.
    • resourceId

      public String resourceId()
      Get the resourceId property: Entire ARM resource id of the resource.
      Returns:
      the resourceId value.
    • withResourceId

      public BackupStatusRequest withResourceId(String resourceId)
      Set the resourceId property: Entire ARM resource id of the resource.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the BackupStatusRequest object itself.
    • poLogicalName

      public String poLogicalName()
      Get the poLogicalName property: Protectable Item Logical Name.
      Returns:
      the poLogicalName value.
    • withPoLogicalName

      public BackupStatusRequest withPoLogicalName(String poLogicalName)
      Set the poLogicalName property: Protectable Item Logical Name.
      Parameters:
      poLogicalName - the poLogicalName value to set.
      Returns:
      the BackupStatusRequest object itself.
    • validate

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