Class ProtectableContainer

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectableContainer
Direct Known Subclasses:
AzureStorageProtectableContainer, AzureVMAppContainerProtectableContainer

public class ProtectableContainer extends Object
Protectable Container Class.
  • Constructor Details

    • ProtectableContainer

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

    • friendlyName

      public String friendlyName()
      Get the friendlyName property: Friendly name of the container.
      Returns:
      the friendlyName value.
    • withFriendlyName

      public ProtectableContainer withFriendlyName(String friendlyName)
      Set the friendlyName property: Friendly name of the container.
      Parameters:
      friendlyName - the friendlyName value to set.
      Returns:
      the ProtectableContainer object itself.
    • backupManagementType

      public BackupManagementType backupManagementType()
      Get the backupManagementType property: Type of backup management for the container.
      Returns:
      the backupManagementType value.
    • withBackupManagementType

      public ProtectableContainer withBackupManagementType(BackupManagementType backupManagementType)
      Set the backupManagementType property: Type of backup management for the container.
      Parameters:
      backupManagementType - the backupManagementType value to set.
      Returns:
      the ProtectableContainer object itself.
    • healthStatus

      public String healthStatus()
      Get the healthStatus property: Status of health of the container.
      Returns:
      the healthStatus value.
    • withHealthStatus

      public ProtectableContainer withHealthStatus(String healthStatus)
      Set the healthStatus property: Status of health of the container.
      Parameters:
      healthStatus - the healthStatus value to set.
      Returns:
      the ProtectableContainer object itself.
    • containerId

      public String containerId()
      Get the containerId property: Fabric Id of the container such as ARM Id.
      Returns:
      the containerId value.
    • withContainerId

      public ProtectableContainer withContainerId(String containerId)
      Set the containerId property: Fabric Id of the container such as ARM Id.
      Parameters:
      containerId - the containerId value to set.
      Returns:
      the ProtectableContainer object itself.
    • validate

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