ApiKeyResourceEntity Class

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

Implements

public final class ApiKeyResourceEntity
implements JsonSerializable<ApiKeyResourceEntity>

API Key Resource details which can be kafka cluster or schema registry cluster.

Method Summary

Modifier and Type Method and Description
String environment()

Get the environment property: The environment of the api key.

static ApiKeyResourceEntity fromJson(JsonReader jsonReader)

Reads an instance of ApiKeyResourceEntity from the JsonReader.

String id()

Get the id property: Id of the resource.

String kind()

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

String related()

Get the related property: API URL for accessing or modifying the api key resource 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

environment

public String environment()

Get the environment property: The environment of the api key.

Returns:

the environment value.

fromJson

public static ApiKeyResourceEntity fromJson(JsonReader jsonReader)

Reads an instance of ApiKeyResourceEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of the resource.

Returns:

the id value.

kind

public String kind()

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

Returns:

the kind value.

related

public String related()

Get the related property: API URL for accessing or modifying the api key resource 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