Class AzureFileShareProtectableItem
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadProtectableItem
com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareProtectableItem
Protectable item for Azure Fileshare workloads.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureFileShareProtectableItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureFileShareType property: File Share type XSync or XSMB.Get the parentContainerFabricId property: Full Fabric ID of container to which this protectable item belongs.Get the parentContainerFriendlyName property: Friendly name of container to which this protectable item belongs.void
validate()
Validates the instance.withAzureFileShareType
(AzureFileShareType azureFileShareType) Set the azureFileShareType property: File Share type XSync or XSMB.withBackupManagementType
(String backupManagementType) Set the backupManagementType property: Type of backup management to backup an item.withFriendlyName
(String friendlyName) Set the friendlyName property: Friendly name of the backup item.withParentContainerFabricId
(String parentContainerFabricId) Set the parentContainerFabricId property: Full Fabric ID of container to which this protectable item belongs.withParentContainerFriendlyName
(String parentContainerFriendlyName) Set the parentContainerFriendlyName property: Friendly name of container to which this protectable item belongs.withProtectionState
(ProtectionStatus protectionState) Set the protectionState property: State of the back up item.withWorkloadType
(String workloadType) Set the workloadType property: Type of workload for the backup management.Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadProtectableItem
backupManagementType, friendlyName, protectionState, workloadType
-
Constructor Details
-
AzureFileShareProtectableItem
public AzureFileShareProtectableItem()Creates an instance of AzureFileShareProtectableItem class.
-
-
Method Details
-
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
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
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.
-
withBackupManagementType
Set the backupManagementType property: Type of backup management to backup an item.- Overrides:
withBackupManagementType
in classWorkloadProtectableItem
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
withWorkloadType
Set the workloadType property: Type of workload for the backup management.- Overrides:
withWorkloadType
in classWorkloadProtectableItem
- Parameters:
workloadType
- the workloadType value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
withFriendlyName
Set the friendlyName property: Friendly name of the backup item.- Overrides:
withFriendlyName
in classWorkloadProtectableItem
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
withProtectionState
Set the protectionState property: State of the back up item.- Overrides:
withProtectionState
in classWorkloadProtectableItem
- Parameters:
protectionState
- the protectionState value to set.- Returns:
- the WorkloadProtectableItem object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classWorkloadProtectableItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-