Class MicrosoftGraphEmailAddress
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEmailAddress
emailAddress.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphEmailAddress class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: emailAddress.address()Get the address property: The email address of the person or entity.name()Get the name property: The display name of the person or entity.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: emailAddress.withAddress(String address) Set the address property: The email address of the person or entity.Set the name property: The display name of the person or entity.
-
Constructor Details
-
MicrosoftGraphEmailAddress
public MicrosoftGraphEmailAddress()Creates an instance of MicrosoftGraphEmailAddress class.
-
-
Method Details
-
address
Get the address property: The email address of the person or entity.- Returns:
- the address value.
-
withAddress
Set the address property: The email address of the person or entity.- Parameters:
address- the address value to set.- Returns:
- the MicrosoftGraphEmailAddress object itself.
-
name
Get the name property: The display name of the person or entity.- Returns:
- the name value.
-
withName
Set the name property: The display name of the person or entity.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphEmailAddress object itself.
-
additionalProperties
Get the additionalProperties property: emailAddress.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: emailAddress.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphEmailAddress object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-