Class SqlDataDirectoryMapping
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.SqlDataDirectoryMapping
-
public final class SqlDataDirectoryMapping extends Object
Encapsulates information regarding data directory.
-
-
Constructor Summary
Constructors Constructor Description SqlDataDirectoryMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlDataDirectoryType
mappingType()
Get the mappingType property: Type of data directory mapping.String
sourceLogicalName()
Get the sourceLogicalName property: Restore source logical name path.String
sourcePath()
Get the sourcePath property: Restore source path.String
targetPath()
Get the targetPath property: Target path.void
validate()
Validates the instance.SqlDataDirectoryMapping
withMappingType(SqlDataDirectoryType mappingType)
Set the mappingType property: Type of data directory mapping.SqlDataDirectoryMapping
withSourceLogicalName(String sourceLogicalName)
Set the sourceLogicalName property: Restore source logical name path.SqlDataDirectoryMapping
withSourcePath(String sourcePath)
Set the sourcePath property: Restore source path.SqlDataDirectoryMapping
withTargetPath(String targetPath)
Set the targetPath property: Target path.
-
-
-
Method Detail
-
mappingType
public SqlDataDirectoryType mappingType()
Get the mappingType property: Type of data directory mapping.- Returns:
- the mappingType value.
-
withMappingType
public SqlDataDirectoryMapping withMappingType(SqlDataDirectoryType mappingType)
Set the mappingType property: Type of data directory mapping.- Parameters:
mappingType
- the mappingType value to set.- Returns:
- the SqlDataDirectoryMapping object itself.
-
sourceLogicalName
public String sourceLogicalName()
Get the sourceLogicalName property: Restore source logical name path.- Returns:
- the sourceLogicalName value.
-
withSourceLogicalName
public SqlDataDirectoryMapping withSourceLogicalName(String sourceLogicalName)
Set the sourceLogicalName property: Restore source logical name path.- Parameters:
sourceLogicalName
- the sourceLogicalName value to set.- Returns:
- the SqlDataDirectoryMapping object itself.
-
sourcePath
public String sourcePath()
Get the sourcePath property: Restore source path.- Returns:
- the sourcePath value.
-
withSourcePath
public SqlDataDirectoryMapping withSourcePath(String sourcePath)
Set the sourcePath property: Restore source path.- Parameters:
sourcePath
- the sourcePath value to set.- Returns:
- the SqlDataDirectoryMapping object itself.
-
targetPath
public String targetPath()
Get the targetPath property: Target path.- Returns:
- the targetPath value.
-
withTargetPath
public SqlDataDirectoryMapping withTargetPath(String targetPath)
Set the targetPath property: Target path.- Parameters:
targetPath
- the targetPath value to set.- Returns:
- the SqlDataDirectoryMapping object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-