Class TargetAfsRestoreInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.TargetAfsRestoreInfo
-
public final class TargetAfsRestoreInfo extends Object
Target Azure File Share Info.
-
-
Constructor Summary
Constructors Constructor Description TargetAfsRestoreInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: File share name.String
targetResourceId()
Get the targetResourceId property: Target file share resource ARM ID.void
validate()
Validates the instance.TargetAfsRestoreInfo
withName(String name)
Set the name property: File share name.TargetAfsRestoreInfo
withTargetResourceId(String targetResourceId)
Set the targetResourceId property: Target file share resource ARM ID.
-
-
-
Method Detail
-
name
public String name()
Get the name property: File share name.- Returns:
- the name value.
-
withName
public TargetAfsRestoreInfo withName(String name)
Set the name property: File share name.- Parameters:
name
- the name value to set.- Returns:
- the TargetAfsRestoreInfo object itself.
-
targetResourceId
public String targetResourceId()
Get the targetResourceId property: Target file share resource ARM ID.- Returns:
- the targetResourceId value.
-
withTargetResourceId
public TargetAfsRestoreInfo withTargetResourceId(String targetResourceId)
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.
-
-