Class MicrosoftGraphEmailAddress
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEmailAddress
-
public final class MicrosoftGraphEmailAddress extends Object
emailAddress.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphEmailAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: emailAddress.String
address()
Get the address property: The email address of the person or entity.String
name()
Get the name property: The display name of the person or entity.void
validate()
Validates the instance.MicrosoftGraphEmailAddress
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: emailAddress.MicrosoftGraphEmailAddress
withAddress(String address)
Set the address property: The email address of the person or entity.MicrosoftGraphEmailAddress
withName(String name)
Set the name property: The display name of the person or entity.
-
-
-
Method Detail
-
address
public String address()
Get the address property: The email address of the person or entity.- Returns:
- the address value.
-
withAddress
public MicrosoftGraphEmailAddress withAddress(String address)
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
public String name()
Get the name property: The display name of the person or entity.- Returns:
- the name value.
-
withName
public MicrosoftGraphEmailAddress withName(String name)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: emailAddress.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphEmailAddress withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-