ServiceAccountRecord Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. ServiceAccountRecord
- com.
Implements
public final class ServiceAccountRecord
implements JsonSerializable<ServiceAccountRecord>
Record of the service account.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceAccountRecord() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of the service account. |
| String |
displayName()
Get the display |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| String |
id()
Get the id property: Id of the service account. |
| String |
kind()
Get the kind property: Type of account. |
|
Metadata |
metadata()
Get the metadata property: Metadata of the record. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Service |
withDescription(String description)
Set the description property: Description of the service account. |
|
Service |
withDisplayName(String displayName)
Set the display |
|
Service |
withId(String id)
Set the id property: Id of the service account. |
|
Service |
withKind(String kind)
Set the kind property: Type of account. |
|
Service |
withMetadata(MetadataEntity metadata)
Set the metadata property: Metadata of the record. |
Methods inherited from java.lang.Object
Constructor Details
ServiceAccountRecord
public ServiceAccountRecord()
Creates an instance of ServiceAccountRecord class.
Method Details
description
public String description()
Get the description property: Description of the service account.
Returns:
displayName
public String displayName()
Get the displayName property: Name of the service account.
Returns:
fromJson
public static ServiceAccountRecord fromJson(JsonReader jsonReader)
Reads an instance of ServiceAccountRecord from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of the service account.
Returns:
kind
public String kind()
Get the kind property: Type of account.
Returns:
metadata
public MetadataEntity metadata()
Get the metadata property: Metadata of the record.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public ServiceAccountRecord withDescription(String description)
Set the description property: Description of the service account.
Parameters:
Returns:
withDisplayName
public ServiceAccountRecord withDisplayName(String displayName)
Set the displayName property: Name of the service account.
Parameters:
Returns:
withId
public ServiceAccountRecord withId(String id)
Set the id property: Id of the service account.
Parameters:
Returns:
withKind
public ServiceAccountRecord withKind(String kind)
Set the kind property: Type of account.
Parameters:
Returns:
withMetadata
public ServiceAccountRecord withMetadata(MetadataEntity metadata)
Set the metadata property: Metadata of the record.
Parameters:
Returns: