SetupScripts Class

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

Implements

public final class SetupScripts
implements JsonSerializable<SetupScripts>

Details of customized scripts to execute for setting up the cluster.

Constructor Summary

Constructor Description
SetupScripts()

Creates an instance of SetupScripts class.

Method Summary

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

Reads an instance of SetupScripts from the JsonReader.

ScriptsToExecute scripts()

Get the scripts property: Customized setup scripts.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SetupScripts withScripts(ScriptsToExecute scripts)

Set the scripts property: Customized setup scripts.

Methods inherited from java.lang.Object

Constructor Details

SetupScripts

public SetupScripts()

Creates an instance of SetupScripts class.

Method Details

fromJson

public static SetupScripts fromJson(JsonReader jsonReader)

Reads an instance of SetupScripts from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

scripts

public ScriptsToExecute scripts()

Get the scripts property: Customized setup scripts.

Returns:

the scripts value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withScripts

public SetupScripts withScripts(ScriptsToExecute scripts)

Set the scripts property: Customized setup scripts.

Parameters:

scripts - the scripts value to set.

Returns:

the SetupScripts object itself.

Applies to