Class MaterializationSettings

java.lang.Object
com.azure.resourcemanager.machinelearning.models.MaterializationSettings
All Implemented Interfaces:
com.azure.json.JsonSerializable<MaterializationSettings>

public final class MaterializationSettings extends Object implements com.azure.json.JsonSerializable<MaterializationSettings>
The MaterializationSettings model.
  • Constructor Details

    • MaterializationSettings

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

    • storeType

      public MaterializationStoreType storeType()
      Get the storeType property: Specifies the stores to which materialization should happen.
      Returns:
      the storeType value.
    • withStoreType

      public MaterializationSettings withStoreType(MaterializationStoreType storeType)
      Set the storeType property: Specifies the stores to which materialization should happen.
      Parameters:
      storeType - the storeType value to set.
      Returns:
      the MaterializationSettings object itself.
    • schedule

      public RecurrenceTrigger schedule()
      Get the schedule property: Specifies the schedule details.
      Returns:
      the schedule value.
    • withSchedule

      public MaterializationSettings withSchedule(RecurrenceTrigger schedule)
      Set the schedule property: Specifies the schedule details.
      Parameters:
      schedule - the schedule value to set.
      Returns:
      the MaterializationSettings object itself.
    • notification

      public NotificationSetting notification()
      Get the notification property: Specifies the notification details.
      Returns:
      the notification value.
    • withNotification

      public MaterializationSettings withNotification(NotificationSetting notification)
      Set the notification property: Specifies the notification details.
      Parameters:
      notification - the notification value to set.
      Returns:
      the MaterializationSettings object itself.
    • resource

      public MaterializationComputeResource resource()
      Get the resource property: Specifies the compute resource settings.
      Returns:
      the resource value.
    • withResource

      Set the resource property: Specifies the compute resource settings.
      Parameters:
      resource - the resource value to set.
      Returns:
      the MaterializationSettings object itself.
    • sparkConfiguration

      public Map<String,String> sparkConfiguration()
      Get the sparkConfiguration property: Specifies the spark compute settings.
      Returns:
      the sparkConfiguration value.
    • withSparkConfiguration

      public MaterializationSettings withSparkConfiguration(Map<String,String> sparkConfiguration)
      Set the sparkConfiguration property: Specifies the spark compute settings.
      Parameters:
      sparkConfiguration - the sparkConfiguration value to set.
      Returns:
      the MaterializationSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<MaterializationSettings>
      Throws:
      IOException
    • fromJson

      public static MaterializationSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MaterializationSettings from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MaterializationSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the MaterializationSettings.