ComputeInstanceCreatedBy Class

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

Implements

public final class ComputeInstanceCreatedBy
implements JsonSerializable<ComputeInstanceCreatedBy>

Describes information on user who created this ComputeInstance.

Constructor Summary

Constructor Description
ComputeInstanceCreatedBy()

Creates an instance of ComputeInstanceCreatedBy class.

Method Summary

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

Reads an instance of ComputeInstanceCreatedBy from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String userId()

Get the userId property: Uniquely identifies the user within his/her organization.

String username()

Get the username property: Name of the user.

String userOrgId()

Get the userOrgId property: Uniquely identifies user' Azure Active Directory organization.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ComputeInstanceCreatedBy

public ComputeInstanceCreatedBy()

Creates an instance of ComputeInstanceCreatedBy class.

Method Details

fromJson

public static ComputeInstanceCreatedBy fromJson(JsonReader jsonReader)

Reads an instance of ComputeInstanceCreatedBy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userId

public String userId()

Get the userId property: Uniquely identifies the user within his/her organization.

Returns:

the userId value.

username

public String username()

Get the username property: Name of the user.

Returns:

the username value.

userOrgId

public String userOrgId()

Get the userOrgId property: Uniquely identifies user' Azure Active Directory organization.

Returns:

the userOrgId value.

validate

public void validate()

Validates the instance.

Applies to