Class UserRoleRequest
java.lang.Object
com.azure.resourcemanager.logz.models.UserRoleRequest
Request for checking user's role for Logz.io account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the emailAddress property: Email of the user used by Logz for contacting them if needed.void
validate()
Validates the instance.withEmailAddress
(String emailAddress) Set the emailAddress property: Email of the user used by Logz for contacting them if needed.
-
Constructor Details
-
UserRoleRequest
public UserRoleRequest()Creates an instance of UserRoleRequest class.
-
-
Method Details
-
emailAddress
Get the emailAddress property: Email of the user used by Logz for contacting them if needed.- Returns:
- the emailAddress value.
-
withEmailAddress
Set the emailAddress property: Email of the user used by Logz for contacting them if needed.- Parameters:
emailAddress
- the emailAddress value to set.- Returns:
- the UserRoleRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-