MachineLearningServicesRunStatusChangedEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.MachineLearningServicesRunStatusChangedEventData

Implements

public final class MachineLearningServicesRunStatusChangedEventData
implements JsonSerializable<MachineLearningServicesRunStatusChangedEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.RunStatusChanged event.

Constructor Summary

Constructor Description
MachineLearningServicesRunStatusChangedEventData()

Creates an instance of MachineLearningServicesRunStatusChangedEventData class.

Method Summary

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

Reads an instance of MachineLearningServicesRunStatusChangedEventData from the JsonReader.

String getExperimentId()

Get the experimentId property: The ID of the experiment that the Machine Learning Run belongs to.

String getExperimentName()

Get the experimentName property: The name of the experiment that the Machine Learning Run belongs to.

String getRunId()

Get the runId property: The ID of the Machine Learning Run.

Object getRunProperties()

Get the runProperties property: The properties of the Machine Learning Run.

String getRunStatus()

Get the runStatus property: The status of the Machine Learning Run.

Object getRunTags()

Get the runTags property: The tags of the Machine Learning Run.

String getRunType()

Get the runType property: The Run Type of the Machine Learning Run.

MachineLearningServicesRunStatusChangedEventData setExperimentId(String experimentId)

Set the experimentId property: The ID of the experiment that the Machine Learning Run belongs to.

MachineLearningServicesRunStatusChangedEventData setExperimentName(String experimentName)

Set the experimentName property: The name of the experiment that the Machine Learning Run belongs to.

MachineLearningServicesRunStatusChangedEventData setRunId(String runId)

Set the runId property: The ID of the Machine Learning Run.

MachineLearningServicesRunStatusChangedEventData setRunProperties(Object runProperties)

Set the runProperties property: The properties of the Machine Learning Run.

MachineLearningServicesRunStatusChangedEventData setRunStatus(String runStatus)

Set the runStatus property: The status of the Machine Learning Run.

MachineLearningServicesRunStatusChangedEventData setRunTags(Object runTags)

Set the runTags property: The tags of the Machine Learning Run.

MachineLearningServicesRunStatusChangedEventData setRunType(String runType)

Set the runType property: The Run Type of the Machine Learning Run.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

MachineLearningServicesRunStatusChangedEventData

public MachineLearningServicesRunStatusChangedEventData()

Creates an instance of MachineLearningServicesRunStatusChangedEventData class.

Method Details

fromJson

public static MachineLearningServicesRunStatusChangedEventData fromJson(JsonReader jsonReader)

Reads an instance of MachineLearningServicesRunStatusChangedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MachineLearningServicesRunStatusChangedEventData 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 MachineLearningServicesRunStatusChangedEventData.

getExperimentId

public String getExperimentId()

Get the experimentId property: The ID of the experiment that the Machine Learning Run belongs to.

Returns:

the experimentId value.

getExperimentName

public String getExperimentName()

Get the experimentName property: The name of the experiment that the Machine Learning Run belongs to.

Returns:

the experimentName value.

getRunId

public String getRunId()

Get the runId property: The ID of the Machine Learning Run.

Returns:

the runId value.

getRunProperties

public Object getRunProperties()

Get the runProperties property: The properties of the Machine Learning Run.

Returns:

the runProperties value.

getRunStatus

public String getRunStatus()

Get the runStatus property: The status of the Machine Learning Run.

Returns:

the runStatus value.

getRunTags

public Object getRunTags()

Get the runTags property: The tags of the Machine Learning Run.

Returns:

the runTags value.

getRunType

public String getRunType()

Get the runType property: The Run Type of the Machine Learning Run.

Returns:

the runType value.

setExperimentId

public MachineLearningServicesRunStatusChangedEventData setExperimentId(String experimentId)

Set the experimentId property: The ID of the experiment that the Machine Learning Run belongs to.

Parameters:

experimentId - the experimentId value to set.

Returns:

the MachineLearningServicesRunStatusChangedEventData object itself.

setExperimentName

public MachineLearningServicesRunStatusChangedEventData setExperimentName(String experimentName)

Set the experimentName property: The name of the experiment that the Machine Learning Run belongs to.

Parameters:

experimentName - the experimentName value to set.

Returns:

the MachineLearningServicesRunStatusChangedEventData object itself.

setRunId

public MachineLearningServicesRunStatusChangedEventData setRunId(String runId)

Set the runId property: The ID of the Machine Learning Run.

Parameters:

runId - the runId value to set.

Returns:

the MachineLearningServicesRunStatusChangedEventData object itself.

setRunProperties

public MachineLearningServicesRunStatusChangedEventData setRunProperties(Object runProperties)

Set the runProperties property: The properties of the Machine Learning Run.

Parameters:

runProperties - the runProperties value to set.

Returns:

the MachineLearningServicesRunStatusChangedEventData object itself.

setRunStatus

public MachineLearningServicesRunStatusChangedEventData setRunStatus(String runStatus)

Set the runStatus property: The status of the Machine Learning Run.

Parameters:

runStatus - the runStatus value to set.

Returns:

the MachineLearningServicesRunStatusChangedEventData object itself.

setRunTags

public MachineLearningServicesRunStatusChangedEventData setRunTags(Object runTags)

Set the runTags property: The tags of the Machine Learning Run.

Parameters:

runTags - the runTags value to set.

Returns:

the MachineLearningServicesRunStatusChangedEventData object itself.

setRunType

public MachineLearningServicesRunStatusChangedEventData setRunType(String runType)

Set the runType property: The Run Type of the Machine Learning Run.

Parameters:

runType - the runType value to set.

Returns:

the MachineLearningServicesRunStatusChangedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to