次の方法で共有


DataLocationToServiceLocationMap Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.DataLocationToServiceLocationMap

Implements

public final class DataLocationToServiceLocationMap
implements JsonSerializable<DataLocationToServiceLocationMap>

Map of data location to service location.

Constructor Summary

Constructor Description
DataLocationToServiceLocationMap()

Creates an instance of DataLocationToServiceLocationMap class.

Method Summary

Modifier and Type Method and Description
String dataLocation()

Get the dataLocation property: Location of the data.

static DataLocationToServiceLocationMap fromJson(JsonReader jsonReader)

Reads an instance of DataLocationToServiceLocationMap from the JsonReader.

String serviceLocation()

Get the serviceLocation property: Location of the service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DataLocationToServiceLocationMap

public DataLocationToServiceLocationMap()

Creates an instance of DataLocationToServiceLocationMap class.

Method Details

dataLocation

public String dataLocation()

Get the dataLocation property: Location of the data.

Returns:

the dataLocation value.

fromJson

public static DataLocationToServiceLocationMap fromJson(JsonReader jsonReader)

Reads an instance of DataLocationToServiceLocationMap from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataLocationToServiceLocationMap 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 DataLocationToServiceLocationMap.

serviceLocation

public String serviceLocation()

Get the serviceLocation property: Location of the service.

Returns:

the serviceLocation value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to