UserRecommendation Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. UserRecommendation
- com.
public final class UserRecommendation
Represents a user that is recommended to be allowed for a certain rule.
Constructor Summary
Constructor | Description |
---|---|
UserRecommendation() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
Recommendation |
recommendationAction()
Get the recommendation |
String |
username()
Get the username property: Represents a user that is recommended to be allowed for a certain rule. |
void |
validate()
Validates the instance. |
User |
withRecommendationAction(RecommendationAction recommendationAction)
Set the recommendation |
User |
withUsername(String username)
Set the username property: Represents a user that is recommended to be allowed for a certain rule. |
Methods inherited from java.lang.Object
Constructor Details
UserRecommendation
public UserRecommendation()
Creates an instance of UserRecommendation class.
Method Details
recommendationAction
public RecommendationAction recommendationAction()
Get the recommendationAction property: The recommendation action of the machine or rule.
Returns:
username
public String username()
Get the username property: Represents a user that is recommended to be allowed for a certain rule.
Returns:
validate
public void validate()
Validates the instance.
withRecommendationAction
public UserRecommendation withRecommendationAction(RecommendationAction recommendationAction)
Set the recommendationAction property: The recommendation action of the machine or rule.
Parameters:
Returns:
withUsername
public UserRecommendation withUsername(String username)
Set the username property: Represents a user that is recommended to be allowed for a certain rule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for