StorageConnectorSource Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.StorageConnectorSource

Implements

public class StorageConnectorSource
implements JsonSerializable<StorageConnectorSource>

The storage connector backing data source information.

Constructor Summary

Constructor Description
StorageConnectorSource()

Creates an instance of StorageConnectorSource class.

Method Summary

Modifier and Type Method and Description
static StorageConnectorSource fromJson(JsonReader jsonReader)

Reads an instance of StorageConnectorSource from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
StorageConnectorSourceType type()

Get the type property: Type of the Storage Connector.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

StorageConnectorSource

public StorageConnectorSource()

Creates an instance of StorageConnectorSource class.

Method Details

fromJson

public static StorageConnectorSource fromJson(JsonReader jsonReader)

Reads an instance of StorageConnectorSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public StorageConnectorSourceType type()

Get the type property: Type of the Storage Connector. Not mutable once the Storage Connector is created.".

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to