Class MicrosoftGraphScoredEmailAddress
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScoredEmailAddress
-
public final class MicrosoftGraphScoredEmailAddress extends Object
scoredEmailAddress.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphScoredEmailAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: scoredEmailAddress.Stringaddress()Get the address property: The email address.StringitemId()Get the itemId property: The itemId property.DoublerelevanceScore()Get the relevanceScore property: The relevance score of the email address.MicrosoftGraphSelectionLikelihoodInfoselectionLikelihood()Get the selectionLikelihood property: The selectionLikelihood property.voidvalidate()Validates the instance.MicrosoftGraphScoredEmailAddresswithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: scoredEmailAddress.MicrosoftGraphScoredEmailAddresswithAddress(String address)Set the address property: The email address.MicrosoftGraphScoredEmailAddresswithItemId(String itemId)Set the itemId property: The itemId property.MicrosoftGraphScoredEmailAddresswithRelevanceScore(Double relevanceScore)Set the relevanceScore property: The relevance score of the email address.MicrosoftGraphScoredEmailAddresswithSelectionLikelihood(MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood)Set the selectionLikelihood property: The selectionLikelihood property.
-
-
-
Method Detail
-
address
public String address()
Get the address property: The email address.- Returns:
- the address value.
-
withAddress
public MicrosoftGraphScoredEmailAddress withAddress(String address)
Set the address property: The email address.- Parameters:
address- the address value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
itemId
public String itemId()
Get the itemId property: The itemId property.- Returns:
- the itemId value.
-
withItemId
public MicrosoftGraphScoredEmailAddress withItemId(String itemId)
Set the itemId property: The itemId property.- Parameters:
itemId- the itemId value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
relevanceScore
public Double 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
public MicrosoftGraphScoredEmailAddress withRelevanceScore(Double relevanceScore)
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
public MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood()
Get the selectionLikelihood property: The selectionLikelihood property.- Returns:
- the selectionLikelihood value.
-
withSelectionLikelihood
public MicrosoftGraphScoredEmailAddress withSelectionLikelihood(MicrosoftGraphSelectionLikelihoodInfo selectionLikelihood)
Set the selectionLikelihood property: The selectionLikelihood property.- Parameters:
selectionLikelihood- the selectionLikelihood value to set.- Returns:
- the MicrosoftGraphScoredEmailAddress object itself.
-
additionalProperties
public Map<String,Object> 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.
-
-