SourceLocation Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. SourceLocation
- com.
Implements
public final class SourceLocation
implements JsonSerializable<SourceLocation>
Source Location details of backups.
Constructor Summary
| Constructor | Description |
|---|---|
| SourceLocation() |
Creates an instance of Source |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Azure |
azureBlob()
Get the azure |
|
Sql |
fileShare()
Get the file |
| String |
fileStorageType()
Get the file |
|
static
Source |
fromJson(JsonReader jsonReader)
Reads an instance of Source |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Source |
withAzureBlob(AzureBlob azureBlob)
Set the azure |
|
Source |
withFileShare(SqlFileShare fileShare)
Set the file |
Methods inherited from java.lang.Object
Constructor Details
SourceLocation
public SourceLocation()
Creates an instance of SourceLocation class.
Method Details
azureBlob
public AzureBlob azureBlob()
Get the azureBlob property: Source Azure Blob.
Returns:
fileShare
public SqlFileShare fileShare()
Get the fileShare property: Source File share.
Returns:
fileStorageType
public String fileStorageType()
Get the fileStorageType property: Backup storage Type.
Returns:
fromJson
public static SourceLocation fromJson(JsonReader jsonReader)
Reads an instance of SourceLocation from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAzureBlob
public SourceLocation withAzureBlob(AzureBlob azureBlob)
Set the azureBlob property: Source Azure Blob.
Parameters:
Returns:
withFileShare
public SourceLocation withFileShare(SqlFileShare fileShare)
Set the fileShare property: Source File share.
Parameters:
Returns: