ServiceAccountRecord Class

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

Implements

public final class ServiceAccountRecord
implements JsonSerializable<ServiceAccountRecord>

Record of the service account.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the service account.

String displayName()

Get the displayName property: Name of the service account.

static ServiceAccountRecord fromJson(JsonReader jsonReader)

Reads an instance of ServiceAccountRecord from the JsonReader.

String id()

Get the id property: Id of the service account.

String kind()

Get the kind property: Type of account.

MetadataEntity metadata()

Get the metadata property: Metadata of the record.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: Description of the service account.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: Name of the service account.

Returns:

the displayName value.

fromJson

public static ServiceAccountRecord fromJson(JsonReader jsonReader)

Reads an instance of ServiceAccountRecord from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of the service account.

Returns:

the id value.

kind

public String kind()

Get the kind property: Type of account.

Returns:

the kind value.

metadata

public MetadataEntity metadata()

Get the metadata property: Metadata of the record.

Returns:

the metadata value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to