Class StorageSetting
java.lang.Object
com.azure.resourcemanager.dataprotection.models.StorageSetting
StorageSetting
Storage setting.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the datastoreType property: Gets or sets the type of the datastore.type()
Get the type property: Gets or sets the type.void
validate()
Validates the instance.withDatastoreType
(StorageSettingStoreTypes datastoreType) Set the datastoreType property: Gets or sets the type of the datastore.withType
(StorageSettingTypes type) Set the type property: Gets or sets the type.
-
Constructor Details
-
StorageSetting
public StorageSetting()Creates an instance of StorageSetting class.
-
-
Method Details
-
datastoreType
Get the datastoreType property: Gets or sets the type of the datastore.- Returns:
- the datastoreType value.
-
withDatastoreType
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
Get the type property: Gets or sets the type.- Returns:
- the type value.
-
withType
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.
-