Class WorkloadProtectableItem

    • Constructor Detail

      • WorkloadProtectableItem

        public WorkloadProtectableItem()
    • Method Detail

      • backupManagementType

        public String backupManagementType()
        Get the backupManagementType property: Type of backup management to backup an item.
        Returns:
        the backupManagementType value.
      • withBackupManagementType

        public WorkloadProtectableItem withBackupManagementType​(String backupManagementType)
        Set the backupManagementType property: Type of backup management to backup an item.
        Parameters:
        backupManagementType - the backupManagementType value to set.
        Returns:
        the WorkloadProtectableItem object itself.
      • workloadType

        public String workloadType()
        Get the workloadType property: Type of workload for the backup management.
        Returns:
        the workloadType value.
      • withWorkloadType

        public WorkloadProtectableItem withWorkloadType​(String workloadType)
        Set the workloadType property: Type of workload for the backup management.
        Parameters:
        workloadType - the workloadType value to set.
        Returns:
        the WorkloadProtectableItem object itself.
      • friendlyName

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

        public WorkloadProtectableItem withFriendlyName​(String friendlyName)
        Set the friendlyName property: Friendly name of the backup item.
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the WorkloadProtectableItem object itself.
      • protectionState

        public ProtectionStatus protectionState()
        Get the protectionState property: State of the back up item.
        Returns:
        the protectionState value.
      • withProtectionState

        public WorkloadProtectableItem withProtectionState​(ProtectionStatus protectionState)
        Set the protectionState property: State of the back up item.
        Parameters:
        protectionState - the protectionState value to set.
        Returns:
        the WorkloadProtectableItem object itself.
      • validate

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