Class ExternalUserInfo
java.lang.Object
com.azure.resourcemanager.elastic.models.ExternalUserInfo
The properties of the request required for creating user on elastic side.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionemailId()
Get the emailId property: Email id of the user to be created or updated.fullName()
Get the fullName property: Full name of the user to be created or updated.password()
Get the password property: Password of the user to be created or updated.roles()
Get the roles property: Roles to be assigned for created or updated user.username()
Get the username property: Username of the user to be created or updated.void
validate()
Validates the instance.withEmailId
(String emailId) Set the emailId property: Email id of the user to be created or updated.withFullName
(String fullName) Set the fullName property: Full name of the user to be created or updated.withPassword
(String password) Set the password property: Password of the user to be created or updated.Set the roles property: Roles to be assigned for created or updated user.withUsername
(String username) Set the username property: Username of the user to be created or updated.
-
Constructor Details
-
ExternalUserInfo
public ExternalUserInfo()Creates an instance of ExternalUserInfo class.
-
-
Method Details
-
username
Get the username property: Username of the user to be created or updated.- Returns:
- the username value.
-
withUsername
Set the username property: Username of the user to be created or updated.- Parameters:
username
- the username value to set.- Returns:
- the ExternalUserInfo object itself.
-
fullName
Get the fullName property: Full name of the user to be created or updated.- Returns:
- the fullName value.
-
withFullName
Set the fullName property: Full name of the user to be created or updated.- Parameters:
fullName
- the fullName value to set.- Returns:
- the ExternalUserInfo object itself.
-
password
Get the password property: Password of the user to be created or updated.- Returns:
- the password value.
-
withPassword
Set the password property: Password of the user to be created or updated.- Parameters:
password
- the password value to set.- Returns:
- the ExternalUserInfo object itself.
-
emailId
Get the emailId property: Email id of the user to be created or updated.- Returns:
- the emailId value.
-
withEmailId
Set the emailId property: Email id of the user to be created or updated.- Parameters:
emailId
- the emailId value to set.- Returns:
- the ExternalUserInfo object itself.
-
roles
Get the roles property: Roles to be assigned for created or updated user.- Returns:
- the roles value.
-
withRoles
Set the roles property: Roles to be assigned for created or updated user.- Parameters:
roles
- the roles value to set.- Returns:
- the ExternalUserInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-