Class TargetAfsRestoreInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.TargetAfsRestoreInfo
Target Azure File Share Info.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: File share name.Get the targetResourceId property: Target file share resource ARM ID.void
validate()
Validates the instance.Set the name property: File share name.withTargetResourceId
(String targetResourceId) Set the targetResourceId property: Target file share resource ARM ID.
-
Constructor Details
-
TargetAfsRestoreInfo
public TargetAfsRestoreInfo()Creates an instance of TargetAfsRestoreInfo class.
-
-
Method Details
-
name
Get the name property: File share name.- Returns:
- the name value.
-
withName
Set the name property: File share name.- Parameters:
name
- the name value to set.- Returns:
- the TargetAfsRestoreInfo object itself.
-
targetResourceId
Get the targetResourceId property: Target file share resource ARM ID.- Returns:
- the targetResourceId value.
-
withTargetResourceId
Set the targetResourceId property: Target file share resource ARM ID.- Parameters:
targetResourceId
- the targetResourceId value to set.- Returns:
- the TargetAfsRestoreInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-