Class StorageSetting


  • public final class StorageSetting
    extends Object
    StorageSetting Storage setting.
    • Constructor Detail

      • StorageSetting

        public StorageSetting()
    • Method Detail

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