Class StorageSetting

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

public final class StorageSetting extends Object
StorageSetting

Storage setting.

  • Constructor Details

    • StorageSetting

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

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