ComputeInstanceApplication Class

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

Implements

public final class ComputeInstanceApplication
implements JsonSerializable<ComputeInstanceApplication>

Defines an Aml Instance application and its connectivity endpoint URI.

Constructor Summary

Constructor Description
ComputeInstanceApplication()

Creates an instance of ComputeInstanceApplication class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Name of the ComputeInstance application.

String endpointUri()

Get the endpointUri property: Application' endpoint URI.

static ComputeInstanceApplication fromJson(JsonReader jsonReader)

Reads an instance of ComputeInstanceApplication from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ComputeInstanceApplication withDisplayName(String displayName)

Set the displayName property: Name of the ComputeInstance application.

ComputeInstanceApplication withEndpointUri(String endpointUri)

Set the endpointUri property: Application' endpoint URI.

Methods inherited from java.lang.Object

Constructor Details

ComputeInstanceApplication

public ComputeInstanceApplication()

Creates an instance of ComputeInstanceApplication class.

Method Details

displayName

public String displayName()

Get the displayName property: Name of the ComputeInstance application.

Returns:

the displayName value.

endpointUri

public String endpointUri()

Get the endpointUri property: Application' endpoint URI.

Returns:

the endpointUri value.

fromJson

public static ComputeInstanceApplication fromJson(JsonReader jsonReader)

Reads an instance of ComputeInstanceApplication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplayName

public ComputeInstanceApplication withDisplayName(String displayName)

Set the displayName property: Name of the ComputeInstance application.

Parameters:

displayName - the displayName value to set.

Returns:

the ComputeInstanceApplication object itself.

withEndpointUri

public ComputeInstanceApplication withEndpointUri(String endpointUri)

Set the endpointUri property: Application' endpoint URI.

Parameters:

endpointUri - the endpointUri value to set.

Returns:

the ComputeInstanceApplication object itself.

Applies to