JobInput Class

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

Implements

public class JobInput
implements JsonSerializable<JobInput>

Command job definition.

Constructor Summary

Constructor Description
JobInput()

Creates an instance of JobInput class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description for the input.

static JobInput fromJson(JsonReader jsonReader)

Reads an instance of JobInput from the JsonReader.

JobInputType jobInputType()

Get the jobInputType property: [Required] Specifies the type of job.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

JobInput withDescription(String description)

Set the description property: Description for the input.

Methods inherited from java.lang.Object

Constructor Details

JobInput

public JobInput()

Creates an instance of JobInput class.

Method Details

description

public String description()

Get the description property: Description for the input.

Returns:

the description value.

fromJson

public static JobInput fromJson(JsonReader jsonReader)

Reads an instance of JobInput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

jobInputType

public JobInputType jobInputType()

Get the jobInputType property: [Required] Specifies the type of job.

Returns:

the jobInputType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public JobInput withDescription(String description)

Set the description property: Description for the input.

Parameters:

description - the description value to set.

Returns:

the JobInput object itself.

Applies to