UserRecord Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. UserRecord
- com.
Implements
public final class UserRecord
implements JsonSerializable<UserRecord>
Record of the user.
Constructor Summary
| Constructor | Description |
|---|---|
| UserRecord() |
Creates an instance of User |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
authType()
Get the auth |
| String |
email()
Get the email property: Email of the user. |
|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
| String |
fullName()
Get the full |
| String |
id()
Get the id property: Id of the user. |
| 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. |
|
User |
withAuthType(String authType)
Set the auth |
|
User |
withEmail(String email)
Set the email property: Email of the user. |
|
User |
withFullName(String fullName)
Set the full |
|
User |
withId(String id)
Set the id property: Id of the user. |
|
User |
withKind(String kind)
Set the kind property: Type of account. |
|
User |
withMetadata(MetadataEntity metadata)
Set the metadata property: Metadata of the record. |
Methods inherited from java.lang.Object
Constructor Details
UserRecord
public UserRecord()
Creates an instance of UserRecord class.
Method Details
authType
public String authType()
Get the authType property: Auth type of the user.
Returns:
public String email()
Get the email property: Email of the user.
Returns:
fromJson
public static UserRecord fromJson(JsonReader jsonReader)
Reads an instance of UserRecord from the JsonReader.
Parameters:
Returns:
Throws:
fullName
public String fullName()
Get the fullName property: Name of the user.
Returns:
id
public String id()
Get the id property: Id of the user.
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.
withAuthType
public UserRecord withAuthType(String authType)
Set the authType property: Auth type of the user.
Parameters:
Returns:
withEmail
public UserRecord withEmail(String email)
Set the email property: Email of the user.
Parameters:
Returns:
withFullName
public UserRecord withFullName(String fullName)
Set the fullName property: Name of the user.
Parameters:
Returns:
withId
public UserRecord withId(String id)
Set the id property: Id of the user.
Parameters:
Returns:
withKind
public UserRecord withKind(String kind)
Set the kind property: Type of account.
Parameters:
Returns:
withMetadata
public UserRecord withMetadata(MetadataEntity metadata)
Set the metadata property: Metadata of the record.
Parameters:
Returns: