Class SqlDataDirectory
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.SqlDataDirectory
SQLDataDirectory info.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the logicalName property: Logical name of the file.path()
Get the path property: File path.type()
Get the type property: Type of data directory mapping.void
validate()
Validates the instance.withLogicalName
(String logicalName) Set the logicalName property: Logical name of the file.Set the path property: File path.withType
(SqlDataDirectoryType type) Set the type property: Type of data directory mapping.
-
Constructor Details
-
SqlDataDirectory
public SqlDataDirectory()Creates an instance of SqlDataDirectory class.
-
-
Method Details
-
type
Get the type property: Type of data directory mapping.- Returns:
- the type value.
-
withType
Set the type property: Type of data directory mapping.- Parameters:
type
- the type value to set.- Returns:
- the SqlDataDirectory object itself.
-
path
Get the path property: File path.- Returns:
- the path value.
-
withPath
Set the path property: File path.- Parameters:
path
- the path value to set.- Returns:
- the SqlDataDirectory object itself.
-
logicalName
Get the logicalName property: Logical name of the file.- Returns:
- the logicalName value.
-
withLogicalName
Set the logicalName property: Logical name of the file.- Parameters:
logicalName
- the logicalName value to set.- Returns:
- the SqlDataDirectory object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-