ApiKeySpecEntity Class

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

Implements

public final class ApiKeySpecEntity
implements JsonSerializable<ApiKeySpecEntity>

Spec of the API Key record.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the API Key.

static ApiKeySpecEntity fromJson(JsonReader jsonReader)

Reads an instance of ApiKeySpecEntity from the JsonReader.

String name()

Get the name property: The name of the API Key.

ApiKeyOwnerEntity owner()

Get the owner property: Specification of the cluster.

ApiKeyResourceEntity resource()

Get the resource property: Specification of the cluster.

String secret()

Get the secret property: API Key Secret.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: The description of the API Key.

Returns:

the description value.

fromJson

public static ApiKeySpecEntity fromJson(JsonReader jsonReader)

Reads an instance of ApiKeySpecEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the API Key.

Returns:

the name value.

owner

public ApiKeyOwnerEntity owner()

Get the owner property: Specification of the cluster.

Returns:

the owner value.

resource

public ApiKeyResourceEntity resource()

Get the resource property: Specification of the cluster.

Returns:

the resource value.

secret

public String secret()

Get the secret property: API Key Secret.

Returns:

the secret value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to