Class SqlDataDirectory
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.SqlDataDirectory
-
public final class SqlDataDirectory extends Object
SQLDataDirectory info.
-
-
Constructor Summary
Constructors Constructor Description SqlDataDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
logicalName()
Get the logicalName property: Logical name of the file.String
path()
Get the path property: File path.SqlDataDirectoryType
type()
Get the type property: Type of data directory mapping.void
validate()
Validates the instance.SqlDataDirectory
withLogicalName(String logicalName)
Set the logicalName property: Logical name of the file.SqlDataDirectory
withPath(String path)
Set the path property: File path.SqlDataDirectory
withType(SqlDataDirectoryType type)
Set the type property: Type of data directory mapping.
-
-
-
Method Detail
-
type
public SqlDataDirectoryType type()
Get the type property: Type of data directory mapping.- Returns:
- the type value.
-
withType
public SqlDataDirectory withType(SqlDataDirectoryType type)
Set the type property: Type of data directory mapping.- Parameters:
type
- the type value to set.- Returns:
- the SqlDataDirectory object itself.
-
path
public String path()
Get the path property: File path.- Returns:
- the path value.
-
withPath
public SqlDataDirectory withPath(String path)
Set the path property: File path.- Parameters:
path
- the path value to set.- Returns:
- the SqlDataDirectory object itself.
-
logicalName
public String logicalName()
Get the logicalName property: Logical name of the file.- Returns:
- the logicalName value.
-
withLogicalName
public SqlDataDirectory withLogicalName(String logicalName)
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.
-
-