Class UserInfo
java.lang.Object
com.azure.resourcemanager.elastic.models.UserInfo
User Information to be passed to partners.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the companyInfo property: Company information of the user to be passed to partners.Get the companyName property: Company name of the user.Get the emailAddress property: Email of the user used by Elastic for contacting them if needed.Get the firstName property: First name of the user.lastName()
Get the lastName property: Last name of the user.void
validate()
Validates the instance.withCompanyInfo
(CompanyInfo companyInfo) Set the companyInfo property: Company information of the user to be passed to partners.withCompanyName
(String companyName) Set the companyName property: Company name of the user.withEmailAddress
(String emailAddress) Set the emailAddress property: Email of the user used by Elastic for contacting them if needed.withFirstName
(String firstName) Set the firstName property: First name of the user.withLastName
(String lastName) Set the lastName property: Last name of the user.
-
Constructor Details
-
UserInfo
public UserInfo()Creates an instance of UserInfo class.
-
-
Method Details
-
firstName
Get the firstName property: First name of the user.- Returns:
- the firstName value.
-
withFirstName
Set the firstName property: First name of the user.- Parameters:
firstName
- the firstName value to set.- Returns:
- the UserInfo object itself.
-
lastName
Get the lastName property: Last name of the user.- Returns:
- the lastName value.
-
withLastName
Set the lastName property: Last name of the user.- Parameters:
lastName
- the lastName value to set.- Returns:
- the UserInfo object itself.
-
companyName
Get the companyName property: Company name of the user.- Returns:
- the companyName value.
-
withCompanyName
Set the companyName property: Company name of the user.- Parameters:
companyName
- the companyName value to set.- Returns:
- the UserInfo object itself.
-
emailAddress
Get the emailAddress property: Email of the user used by Elastic for contacting them if needed.- Returns:
- the emailAddress value.
-
withEmailAddress
Set the emailAddress property: Email of the user used by Elastic for contacting them if needed.- Parameters:
emailAddress
- the emailAddress value to set.- Returns:
- the UserInfo object itself.
-
companyInfo
Get the companyInfo property: Company information of the user to be passed to partners.- Returns:
- the companyInfo value.
-
withCompanyInfo
Set the companyInfo property: Company information of the user to be passed to partners.- Parameters:
companyInfo
- the companyInfo value to set.- Returns:
- the UserInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-