Share via


UserDetail Class

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

Implements

public final class UserDetail
implements JsonSerializable<UserDetail>

Subscriber detail.

Constructor Summary

Constructor Description
UserDetail()

Creates an instance of UserDetail class.

Method Summary

Modifier and Type Method and Description
String aadEmail()

Get the aadEmail property: AAD email address.

String emailAddress()

Get the emailAddress property: Email address.

String firstName()

Get the firstName property: First name.

static UserDetail fromJson(JsonReader jsonReader)

Reads an instance of UserDetail from the JsonReader.

String lastName()

Get the lastName property: Last name.

JsonWriter toJson(JsonWriter jsonWriter)
String userPrincipalName()

Get the userPrincipalName property: User principal name.

void validate()

Validates the instance.

UserDetail withAadEmail(String aadEmail)

Set the aadEmail property: AAD email address.

UserDetail withEmailAddress(String emailAddress)

Set the emailAddress property: Email address.

UserDetail withFirstName(String firstName)

Set the firstName property: First name.

UserDetail withLastName(String lastName)

Set the lastName property: Last name.

UserDetail withUserPrincipalName(String userPrincipalName)

Set the userPrincipalName property: User principal name.

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:

the aadEmail value.

emailAddress

public String emailAddress()

Get the emailAddress property: Email address.

Returns:

the emailAddress value.

firstName

public String firstName()

Get the firstName property: First name.

Returns:

the firstName value.

fromJson

public static UserDetail fromJson(JsonReader jsonReader)

Reads an instance of UserDetail from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UserDetail if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

lastName

public String lastName()

Get the lastName property: Last name.

Returns:

the lastName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userPrincipalName

public String userPrincipalName()

Get the userPrincipalName property: User principal name.

Returns:

the userPrincipalName value.

validate

public void validate()

Validates the instance.

withAadEmail

public UserDetail withAadEmail(String aadEmail)

Set the aadEmail property: AAD email address.

Parameters:

aadEmail - the aadEmail value to set.

Returns:

the UserDetail object itself.

withEmailAddress

public UserDetail withEmailAddress(String emailAddress)

Set the emailAddress property: Email address.

Parameters:

emailAddress - the emailAddress value to set.

Returns:

the UserDetail object itself.

withFirstName

public UserDetail withFirstName(String firstName)

Set the firstName property: First name.

Parameters:

firstName - the firstName value to set.

Returns:

the UserDetail object itself.

withLastName

public UserDetail withLastName(String lastName)

Set the lastName property: Last name.

Parameters:

lastName - the lastName value to set.

Returns:

the UserDetail object itself.

withUserPrincipalName

public UserDetail withUserPrincipalName(String userPrincipalName)

Set the userPrincipalName property: User principal name.

Parameters:

userPrincipalName - the userPrincipalName value to set.

Returns:

the UserDetail object itself.

Applies to