UserDetail Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. UserDetail
- com.
Implements
public final class UserDetail
implements JsonSerializable<UserDetail>
Subscriber detail.
Constructor Summary
| Constructor | Description |
|---|---|
| UserDetail() |
Creates an instance of User |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
aadEmail()
Get the aad |
| String |
emailAddress()
Get the email |
| String |
firstName()
Get the first |
|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
| String |
lastName()
Get the last |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
userPrincipalName()
Get the user |
| void |
validate()
Validates the instance. |
|
User |
withAadEmail(String aadEmail)
Set the aad |
|
User |
withEmailAddress(String emailAddress)
Set the email |
|
User |
withFirstName(String firstName)
Set the first |
|
User |
withLastName(String lastName)
Set the last |
|
User |
withUserPrincipalName(String userPrincipalName)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
UserDetail
public UserDetail()
Creates an instance of UserDetail class.
Method Details
aadEmail
public String aadEmail()
Get the aadEmail property: AAD email address.
Returns:
emailAddress
public String emailAddress()
Get the emailAddress property: Email address.
Returns:
firstName
public String firstName()
Get the firstName property: First name.
Returns:
fromJson
public static UserDetail fromJson(JsonReader jsonReader)
Reads an instance of UserDetail from the JsonReader.
Parameters:
Returns:
Throws:
lastName
public String lastName()
Get the lastName property: Last name.
Returns:
toJson
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: User principal name.
Returns:
validate
public void validate()
Validates the instance.
withAadEmail
public UserDetail withAadEmail(String aadEmail)
Set the aadEmail property: AAD email address.
Parameters:
Returns:
withEmailAddress
public UserDetail withEmailAddress(String emailAddress)
Set the emailAddress property: Email address.
Parameters:
Returns:
withFirstName
public UserDetail withFirstName(String firstName)
Set the firstName property: First name.
Parameters:
Returns:
withLastName
public UserDetail withLastName(String lastName)
Set the lastName property: Last name.
Parameters:
Returns:
withUserPrincipalName
public UserDetail withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: User principal name.
Parameters:
Returns: