Class MicrosoftGraphScoredEmailAddress
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScoredEmailAddress
scoredEmailAddress.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphScoredEmailAddress class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: scoredEmailAddress.address()Get the address property: The email address.itemId()Get the itemId property: The itemId property.Get the relevanceScore property: The relevance score of the email address.Get the selectionLikelihood property: selectionLikelihoodInfo.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scoredEmailAddress.withAddress(String address) Set the address property: The email address.withItemId(String itemId) Set the itemId property: The itemId property.withRelevanceScore(Double relevanceScore) Set the relevanceScore property: The relevance score of the email address.withSelectionLikelihood(MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood) Set the selectionLikelihood property: selectionLikelihoodInfo.
-
Constructor Details
-
MicrosoftGraphScoredEmailAddress
public MicrosoftGraphScoredEmailAddress()Creates an instance of MicrosoftGraphScoredEmailAddress class.
-
-
Method Details
-
address
Get the address property: The email address.- Returns:
- the address value.
-
withAddress
Set the address property: The email address.- Parameters:
address- the address value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
itemId
Get the itemId property: The itemId property.- Returns:
- the itemId value.
-
withItemId
Set the itemId property: The itemId property.- Parameters:
itemId- the itemId value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
relevanceScore
Get the relevanceScore property: The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships.- Returns:
- the relevanceScore value.
-
withRelevanceScore
Set the relevanceScore property: The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships.- Parameters:
relevanceScore- the relevanceScore value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
selectionLikelihood
Get the selectionLikelihood property: selectionLikelihoodInfo.- Returns:
- the selectionLikelihood value.
-
withSelectionLikelihood
public MicrosoftGraphScoredEmailAddress withSelectionLikelihood(MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood) Set the selectionLikelihood property: selectionLikelihoodInfo.- Parameters:
selectionLikelihood- the selectionLikelihood value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
additionalProperties
Get the additionalProperties property: scoredEmailAddress.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScoredEmailAddress withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scoredEmailAddress.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-