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 Summary
ConstructorsConstructorDescriptionCreates an instance of MaterializationSettings class. -
Method Summary
Modifier and TypeMethodDescriptionstatic MaterializationSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MaterializationSettings from the JsonReader.Get the notification property: Specifies the notification details.resource()Get the resource property: Specifies the compute resource settings.schedule()Get the schedule property: Specifies the schedule details.Get the sparkConfiguration property: Specifies the spark compute settings.Get the storeType property: Specifies the stores to which materialization should happen.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withNotification(NotificationSetting notification) Set the notification property: Specifies the notification details.withResource(MaterializationComputeResource resource) Set the resource property: Specifies the compute resource settings.withSchedule(RecurrenceTrigger schedule) Set the schedule property: Specifies the schedule details.withSparkConfiguration(Map<String, String> sparkConfiguration) Set the sparkConfiguration property: Specifies the spark compute settings.withStoreType(MaterializationStoreType storeType) Set the storeType property: Specifies the stores to which materialization should happen.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
MaterializationSettings
public MaterializationSettings()Creates an instance of MaterializationSettings class.
-
-
Method Details
-
storeType
Get the storeType property: Specifies the stores to which materialization should happen.- Returns:
- the storeType value.
-
withStoreType
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
Get the schedule property: Specifies the schedule details.- Returns:
- the schedule value.
-
withSchedule
Set the schedule property: Specifies the schedule details.- Parameters:
schedule- the schedule value to set.- Returns:
- the MaterializationSettings object itself.
-
notification
Get the notification property: Specifies the notification details.- Returns:
- the notification value.
-
withNotification
Set the notification property: Specifies the notification details.- Parameters:
notification- the notification value to set.- Returns:
- the MaterializationSettings object itself.
-
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
Get the sparkConfiguration property: Specifies the spark compute settings.- Returns:
- the sparkConfiguration value.
-
withSparkConfiguration
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
- Specified by:
toJsonin interfacecom.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.
-