Class UserDetail
- java.lang.Object
-
- com.azure.resourcemanager.confluent.models.UserDetail
-
public final class UserDetail extends Object
Subscriber detail.
-
-
Constructor Summary
Constructors Constructor Description UserDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
emailAddress()
Get the emailAddress property: Email address.String
firstName()
Get the firstName property: First name.String
lastName()
Get the lastName property: Last name.void
validate()
Validates the instance.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.
-
-
-
Method Detail
-
firstName
public String firstName()
Get the firstName property: First name.- Returns:
- the firstName value.
-
withFirstName
public UserDetail withFirstName(String firstName)
Set the firstName property: First name.- Parameters:
firstName
- the firstName value to set.- Returns:
- the UserDetail object itself.
-
lastName
public String lastName()
Get the lastName property: Last name.- Returns:
- the lastName value.
-
withLastName
public UserDetail withLastName(String lastName)
Set the lastName property: Last name.- Parameters:
lastName
- the lastName value to set.- Returns:
- the UserDetail object itself.
-
emailAddress
public String emailAddress()
Get the emailAddress property: Email address.- Returns:
- the emailAddress value.
-
withEmailAddress
public UserDetail withEmailAddress(String emailAddress)
Set the emailAddress property: Email address.- Parameters:
emailAddress
- the emailAddress value to set.- Returns:
- the UserDetail object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-