次の方法で共有


SourceLocation Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.SourceLocation

Implements

public final class SourceLocation
implements JsonSerializable<SourceLocation>

Source Location details of backups.

Constructor Summary

Constructor Description
SourceLocation()

Creates an instance of SourceLocation class.

Method Summary

Modifier and Type Method and Description
AzureBlob azureBlob()

Get the azureBlob property: Source Azure Blob.

SqlFileShare fileShare()

Get the fileShare property: Source File share.

String fileStorageType()

Get the fileStorageType property: Backup storage Type.

static SourceLocation fromJson(JsonReader jsonReader)

Reads an instance of SourceLocation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SourceLocation withAzureBlob(AzureBlob azureBlob)

Set the azureBlob property: Source Azure Blob.

SourceLocation withFileShare(SqlFileShare fileShare)

Set the fileShare property: Source File share.

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:

the azureBlob value.

fileShare

public SqlFileShare fileShare()

Get the fileShare property: Source File share.

Returns:

the fileShare value.

fileStorageType

public String fileStorageType()

Get the fileStorageType property: Backup storage Type.

Returns:

the fileStorageType value.

fromJson

public static SourceLocation fromJson(JsonReader jsonReader)

Reads an instance of SourceLocation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SourceLocation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SourceLocation.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAzureBlob

public SourceLocation withAzureBlob(AzureBlob azureBlob)

Set the azureBlob property: Source Azure Blob.

Parameters:

azureBlob - the azureBlob value to set.

Returns:

the SourceLocation object itself.

withFileShare

public SourceLocation withFileShare(SqlFileShare fileShare)

Set the fileShare property: Source File share.

Parameters:

fileShare - the fileShare value to set.

Returns:

the SourceLocation object itself.

Applies to