Class DataStoreParameters
java.lang.Object
com.azure.resourcemanager.dataprotection.models.DataStoreParameters
- Direct Known Subclasses:
AzureOperationalStoreParameters
Parameters for DataStore.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataStoreType property: type of datastore; Operational/Vault/Archive.void
validate()
Validates the instance.withDataStoreType
(DataStoreTypes dataStoreType) Set the dataStoreType property: type of datastore; Operational/Vault/Archive.
-
Constructor Details
-
DataStoreParameters
public DataStoreParameters()Creates an instance of DataStoreParameters class.
-
-
Method Details
-
dataStoreType
Get the dataStoreType property: type of datastore; Operational/Vault/Archive.- Returns:
- the dataStoreType value.
-
withDataStoreType
Set the dataStoreType property: type of datastore; Operational/Vault/Archive.- Parameters:
dataStoreType
- the dataStoreType value to set.- Returns:
- the DataStoreParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-