Class DataStoreInfoBase
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.DataStoreInfoBase
-
public final class DataStoreInfoBase extends Object
DataStoreInfoBase DataStoreInfo base.
-
-
Constructor Summary
Constructors Constructor Description DataStoreInfoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStoreTypes
dataStoreType()
Get the dataStoreType property: type of datastore; Operational/Vault/Archive.String
objectType()
Get the objectType property: Type of Datasource object, used to initialize the right inherited type.void
validate()
Validates the instance.DataStoreInfoBase
withDataStoreType(DataStoreTypes dataStoreType)
Set the dataStoreType property: type of datastore; Operational/Vault/Archive.DataStoreInfoBase
withObjectType(String objectType)
Set the objectType property: Type of Datasource object, used to initialize the right inherited type.
-
-
-
Method Detail
-
dataStoreType
public DataStoreTypes dataStoreType()
Get the dataStoreType property: type of datastore; Operational/Vault/Archive.- Returns:
- the dataStoreType value.
-
withDataStoreType
public DataStoreInfoBase withDataStoreType(DataStoreTypes dataStoreType)
Set the dataStoreType property: type of datastore; Operational/Vault/Archive.- Parameters:
dataStoreType
- the dataStoreType value to set.- Returns:
- the DataStoreInfoBase object itself.
-
objectType
public String objectType()
Get the objectType property: Type of Datasource object, used to initialize the right inherited type.- Returns:
- the objectType value.
-
withObjectType
public DataStoreInfoBase withObjectType(String objectType)
Set the objectType property: Type of Datasource object, used to initialize the right inherited type.- Parameters:
objectType
- the objectType value to set.- Returns:
- the DataStoreInfoBase object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-