Class DataStoreInfoBase

java.lang.Object
com.azure.resourcemanager.dataprotection.models.DataStoreInfoBase

public final class DataStoreInfoBase extends Object
DataStoreInfoBase

DataStoreInfo base.

  • Constructor Details

    • DataStoreInfoBase

      public DataStoreInfoBase()
      Creates an instance of DataStoreInfoBase class.
  • Method Details

    • 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.