Class AzureFileShareProtectableItem

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadProtectableItem
com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareProtectableItem

public final class AzureFileShareProtectableItem extends WorkloadProtectableItem
Protectable item for Azure Fileshare workloads.
  • Constructor Details

    • AzureFileShareProtectableItem

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

    • parentContainerFabricId

      public String parentContainerFabricId()
      Get the parentContainerFabricId property: Full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
      Returns:
      the parentContainerFabricId value.
    • withParentContainerFabricId

      public AzureFileShareProtectableItem withParentContainerFabricId(String parentContainerFabricId)
      Set the parentContainerFabricId property: Full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
      Parameters:
      parentContainerFabricId - the parentContainerFabricId value to set.
      Returns:
      the AzureFileShareProtectableItem object itself.
    • parentContainerFriendlyName

      public String parentContainerFriendlyName()
      Get the parentContainerFriendlyName property: Friendly name of container to which this protectable item belongs.
      Returns:
      the parentContainerFriendlyName value.
    • withParentContainerFriendlyName

      public AzureFileShareProtectableItem withParentContainerFriendlyName(String parentContainerFriendlyName)
      Set the parentContainerFriendlyName property: Friendly name of container to which this protectable item belongs.
      Parameters:
      parentContainerFriendlyName - the parentContainerFriendlyName value to set.
      Returns:
      the AzureFileShareProtectableItem object itself.
    • azureFileShareType

      public AzureFileShareType azureFileShareType()
      Get the azureFileShareType property: File Share type XSync or XSMB.
      Returns:
      the azureFileShareType value.
    • withAzureFileShareType

      public AzureFileShareProtectableItem withAzureFileShareType(AzureFileShareType azureFileShareType)
      Set the azureFileShareType property: File Share type XSync or XSMB.
      Parameters:
      azureFileShareType - the azureFileShareType value to set.
      Returns:
      the AzureFileShareProtectableItem object itself.
    • withBackupManagementType

      public AzureFileShareProtectableItem withBackupManagementType(String backupManagementType)
      Set the backupManagementType property: Type of backup management to backup an item.
      Overrides:
      withBackupManagementType in class WorkloadProtectableItem
      Parameters:
      backupManagementType - the backupManagementType value to set.
      Returns:
      the WorkloadProtectableItem object itself.
    • withWorkloadType

      public AzureFileShareProtectableItem withWorkloadType(String workloadType)
      Set the workloadType property: Type of workload for the backup management.
      Overrides:
      withWorkloadType in class WorkloadProtectableItem
      Parameters:
      workloadType - the workloadType value to set.
      Returns:
      the WorkloadProtectableItem object itself.
    • withFriendlyName

      public AzureFileShareProtectableItem withFriendlyName(String friendlyName)
      Set the friendlyName property: Friendly name of the backup item.
      Overrides:
      withFriendlyName in class WorkloadProtectableItem
      Parameters:
      friendlyName - the friendlyName value to set.
      Returns:
      the WorkloadProtectableItem object itself.
    • withProtectionState

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

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