SqlFileShare Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. SqlFileShare
- com.
Implements
public final class SqlFileShare
implements JsonSerializable<SqlFileShare>
File share.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlFileShare() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
password()
Get the password property: Password for username to access file share location. |
| String |
path()
Get the path property: Location as SMB share or local drive where backups are placed. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
username()
Get the username property: Username to access the file share location for backups. |
| void |
validate()
Validates the instance. |
|
Sql |
withPassword(String password)
Set the password property: Password for username to access file share location. |
|
Sql |
withPath(String path)
Set the path property: Location as SMB share or local drive where backups are placed. |
|
Sql |
withUsername(String username)
Set the username property: Username to access the file share location for backups. |
Methods inherited from java.lang.Object
Constructor Details
SqlFileShare
public SqlFileShare()
Creates an instance of SqlFileShare class.
Method Details
fromJson
public static SqlFileShare fromJson(JsonReader jsonReader)
Reads an instance of SqlFileShare from the JsonReader.
Parameters:
Returns:
Throws:
password
public String password()
Get the password property: Password for username to access file share location.
Returns:
path
public String path()
Get the path property: Location as SMB share or local drive where backups are placed.
Returns:
toJson
username
public String username()
Get the username property: Username to access the file share location for backups.
Returns:
validate
public void validate()
Validates the instance.
withPassword
public SqlFileShare withPassword(String password)
Set the password property: Password for username to access file share location.
Parameters:
Returns:
withPath
public SqlFileShare withPath(String path)
Set the path property: Location as SMB share or local drive where backups are placed.
Parameters:
Returns:
withUsername
public SqlFileShare withUsername(String username)
Set the username property: Username to access the file share location for backups.
Parameters:
Returns: