Class StorageSetting
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.StorageSetting
-
public final class StorageSetting extends Object
StorageSetting Storage setting.
-
-
Constructor Summary
Constructors Constructor Description StorageSetting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageSettingStoreTypes
datastoreType()
Get the datastoreType property: Gets or sets the type of the datastore.StorageSettingTypes
type()
Get the type property: Gets or sets the type.void
validate()
Validates the instance.StorageSetting
withDatastoreType(StorageSettingStoreTypes datastoreType)
Set the datastoreType property: Gets or sets the type of the datastore.StorageSetting
withType(StorageSettingTypes type)
Set the type property: Gets or sets the type.
-
-
-
Method Detail
-
datastoreType
public StorageSettingStoreTypes datastoreType()
Get the datastoreType property: Gets or sets the type of the datastore.- Returns:
- the datastoreType value.
-
withDatastoreType
public StorageSetting withDatastoreType(StorageSettingStoreTypes datastoreType)
Set the datastoreType property: Gets or sets the type of the datastore.- Parameters:
datastoreType
- the datastoreType value to set.- Returns:
- the StorageSetting object itself.
-
type
public StorageSettingTypes type()
Get the type property: Gets or sets the type.- Returns:
- the type value.
-
withType
public StorageSetting withType(StorageSettingTypes type)
Set the type property: Gets or sets the type.- Parameters:
type
- the type value to set.- Returns:
- the StorageSetting object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-