ApiKeyOwnerEntity Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.models.ApiKeyOwnerEntity

Implements

public final class ApiKeyOwnerEntity
implements JsonSerializable<ApiKeyOwnerEntity>

API Key Owner details which can be a user or service account.

Method Summary

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

Reads an instance of ApiKeyOwnerEntity from the JsonReader.

String id()

Get the id property: API Key owner id.

String kind()

Get the kind property: Type of the owner service or user account.

String related()

Get the related property: API URL for accessing or modifying the referred object.

String resourceName()

Get the resourceName property: CRN reference to the referred resource.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ApiKeyOwnerEntity fromJson(JsonReader jsonReader)

Reads an instance of ApiKeyOwnerEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: API Key owner id.

Returns:

the id value.

kind

public String kind()

Get the kind property: Type of the owner service or user account.

Returns:

the kind value.

related

public String related()

Get the related property: API URL for accessing or modifying the referred object.

Returns:

the related value.

resourceName

public String resourceName()

Get the resourceName property: CRN reference to the referred resource.

Returns:

the resourceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to