StorageSetting Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. StorageSetting
- com.
Implements
public final class StorageSetting
implements JsonSerializable<StorageSetting>
Storage setting.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageSetting() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Storage |
datastoreType()
Get the datastore |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Storage |
type()
Get the type property: Gets or sets the type. |
|
Storage |
withDatastoreType(StorageSettingStoreTypes datastoreType)
Set the datastore |
|
Storage |
withType(StorageSettingTypes type)
Set the type property: Gets or sets the type. |
Methods inherited from java.lang.Object
Constructor Details
StorageSetting
public StorageSetting()
Creates an instance of StorageSetting class.
Method Details
datastoreType
public StorageSettingStoreTypes datastoreType()
Get the datastoreType property: Gets or sets the type of the datastore.
Returns:
fromJson
public static StorageSetting fromJson(JsonReader jsonReader)
Reads an instance of StorageSetting from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public StorageSettingTypes type()
Get the type property: Gets or sets the type.
Returns:
withDatastoreType
public StorageSetting withDatastoreType(StorageSettingStoreTypes datastoreType)
Set the datastoreType property: Gets or sets the type of the datastore.
Parameters:
Returns:
withType
public StorageSetting withType(StorageSettingTypes type)
Set the type property: Gets or sets the type.
Parameters:
Returns: