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 Summary
Constructors Constructor Description AzureFileShareProtectableItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureFileShareType
azureFileShareType()
Get the azureFileShareType property: File Share type XSync or XSMB.String
parentContainerFabricId()
Get the parentContainerFabricId property: Full Fabric ID of container to which this protectable item belongs.String
parentContainerFriendlyName()
Get the parentContainerFriendlyName property: Friendly name of container to which this protectable item belongs.void
validate()
Validates the instance.AzureFileShareProtectableItem
withAzureFileShareType(AzureFileShareType azureFileShareType)
Set the azureFileShareType property: File Share type XSync or XSMB.AzureFileShareProtectableItem
withBackupManagementType(String backupManagementType)
Set the backupManagementType property: Type of backup management to backup an item.AzureFileShareProtectableItem
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup item.AzureFileShareProtectableItem
withParentContainerFabricId(String parentContainerFabricId)
Set the parentContainerFabricId property: Full Fabric ID of container to which this protectable item belongs.AzureFileShareProtectableItem
withParentContainerFriendlyName(String parentContainerFriendlyName)
Set the parentContainerFriendlyName property: Friendly name of container to which this protectable item belongs.AzureFileShareProtectableItem
withProtectionState(ProtectionStatus protectionState)
Set the protectionState property: State of the back up item.AzureFileShareProtectableItem
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
-
-
-
-
Method Detail
-
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 classWorkloadProtectableItem
- 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 classWorkloadProtectableItem
- 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 classWorkloadProtectableItem
- 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 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.
-
-