DataStoreParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.DataStoreParameters

Implements

public class DataStoreParameters
implements JsonSerializable<DataStoreParameters>

Parameters for DataStore.

Constructor Summary

Constructor Description
DataStoreParameters()

Creates an instance of DataStoreParameters class.

Method Summary

Modifier and Type Method and Description
DataStoreTypes dataStoreType()

Get the dataStoreType property: type of datastore; Operational/Vault/Archive.

static DataStoreParameters fromJson(JsonReader jsonReader)

Reads an instance of DataStoreParameters from the JsonReader.

String objectType()

Get the objectType property: Type of the specific object - used for deserializing.

JsonWriter toJson(JsonWriter jsonWriter)
DataStoreParameters withDataStoreType(DataStoreTypes dataStoreType)

Set the dataStoreType property: type of datastore; Operational/Vault/Archive.

Methods inherited from java.lang.Object

Constructor Details

DataStoreParameters

public DataStoreParameters()

Creates an instance of DataStoreParameters class.

Method Details

dataStoreType

public DataStoreTypes dataStoreType()

Get the dataStoreType property: type of datastore; Operational/Vault/Archive.

Returns:

the dataStoreType value.

fromJson

public static DataStoreParameters fromJson(JsonReader jsonReader)

Reads an instance of DataStoreParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

objectType

public String objectType()

Get the objectType property: Type of the specific object - used for deserializing.

Returns:

the objectType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withDataStoreType

public DataStoreParameters withDataStoreType(DataStoreTypes dataStoreType)

Set the dataStoreType property: type of datastore; Operational/Vault/Archive.

Parameters:

dataStoreType - the dataStoreType value to set.

Returns:

the DataStoreParameters object itself.

Applies to