MaterializationSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.MaterializationSettings

Implements

public final class MaterializationSettings
implements JsonSerializable<MaterializationSettings>

The MaterializationSettings model.

Constructor Summary

Constructor Description
MaterializationSettings()

Creates an instance of MaterializationSettings class.

Method Summary

Modifier and Type Method and Description
static MaterializationSettings fromJson(JsonReader jsonReader)

Reads an instance of MaterializationSettings from the JsonReader.

NotificationSetting notification()

Get the notification property: Specifies the notification details.

MaterializationComputeResource resource()

Get the resource property: Specifies the compute resource settings.

RecurrenceTrigger schedule()

Get the schedule property: Specifies the schedule details.

Map<String,String> sparkConfiguration()

Get the sparkConfiguration property: Specifies the spark compute settings.

MaterializationStoreType storeType()

Get the storeType property: Specifies the stores to which materialization should happen.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MaterializationSettings withNotification(NotificationSetting notification)

Set the notification property: Specifies the notification details.

MaterializationSettings withResource(MaterializationComputeResource resource)

Set the resource property: Specifies the compute resource settings.

MaterializationSettings withSchedule(RecurrenceTrigger schedule)

Set the schedule property: Specifies the schedule details.

MaterializationSettings withSparkConfiguration(Map<String,String> sparkConfiguration)

Set the sparkConfiguration property: Specifies the spark compute settings.

MaterializationSettings withStoreType(MaterializationStoreType storeType)

Set the storeType property: Specifies the stores to which materialization should happen.

Methods inherited from java.lang.Object

Constructor Details

MaterializationSettings

public MaterializationSettings()

Creates an instance of MaterializationSettings class.

Method Details

fromJson

public static MaterializationSettings fromJson(JsonReader jsonReader)

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.

notification

public NotificationSetting notification()

Get the notification property: Specifies the notification details.

Returns:

the notification value.

resource

public MaterializationComputeResource resource()

Get the resource property: Specifies the compute resource settings.

Returns:

the resource value.

schedule

public RecurrenceTrigger schedule()

Get the schedule property: Specifies the schedule details.

Returns:

the schedule value.

sparkConfiguration

public Map<String,String> sparkConfiguration()

Get the sparkConfiguration property: Specifies the spark compute settings.

Returns:

the sparkConfiguration value.

storeType

public MaterializationStoreType storeType()

Get the storeType property: Specifies the stores to which materialization should happen.

Returns:

the storeType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withResource

public MaterializationSettings withResource(MaterializationComputeResource resource)

Set the resource property: Specifies the compute resource settings.

Parameters:

resource - the resource value to set.

Returns:

the MaterializationSettings object itself.

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.

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.

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.

Applies to