Class MicrosoftGraphLocation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLocation
-
public final class MicrosoftGraphLocation extends Object
location.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: location.MicrosoftGraphPhysicalAddressaddress()Get the address property: physicalAddress.MicrosoftGraphOutlookGeoCoordinatescoordinates()Get the coordinates property: outlookGeoCoordinates.StringdisplayName()Get the displayName property: The name associated with the location.StringlocationEmailAddress()Get the locationEmailAddress property: Optional email address of the location.MicrosoftGraphLocationTypelocationType()Get the locationType property: The locationType property.StringlocationUri()Get the locationUri property: Optional URI representing the location.StringuniqueId()Get the uniqueId property: For internal use only.MicrosoftGraphLocationUniqueIdTypeuniqueIdType()Get the uniqueIdType property: The uniqueIdType property.voidvalidate()Validates the instance.MicrosoftGraphLocationwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: location.MicrosoftGraphLocationwithAddress(MicrosoftGraphPhysicalAddress address)Set the address property: physicalAddress.MicrosoftGraphLocationwithCoordinates(MicrosoftGraphOutlookGeoCoordinates coordinates)Set the coordinates property: outlookGeoCoordinates.MicrosoftGraphLocationwithDisplayName(String displayName)Set the displayName property: The name associated with the location.MicrosoftGraphLocationwithLocationEmailAddress(String locationEmailAddress)Set the locationEmailAddress property: Optional email address of the location.MicrosoftGraphLocationwithLocationType(MicrosoftGraphLocationType locationType)Set the locationType property: The locationType property.MicrosoftGraphLocationwithLocationUri(String locationUri)Set the locationUri property: Optional URI representing the location.MicrosoftGraphLocationwithUniqueId(String uniqueId)Set the uniqueId property: For internal use only.MicrosoftGraphLocationwithUniqueIdType(MicrosoftGraphLocationUniqueIdType uniqueIdType)Set the uniqueIdType property: The uniqueIdType property.
-
-
-
Method Detail
-
address
public MicrosoftGraphPhysicalAddress address()
Get the address property: physicalAddress.- Returns:
- the address value.
-
withAddress
public MicrosoftGraphLocation withAddress(MicrosoftGraphPhysicalAddress address)
Set the address property: physicalAddress.- Parameters:
address- the address value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
coordinates
public MicrosoftGraphOutlookGeoCoordinates coordinates()
Get the coordinates property: outlookGeoCoordinates.- Returns:
- the coordinates value.
-
withCoordinates
public MicrosoftGraphLocation withCoordinates(MicrosoftGraphOutlookGeoCoordinates coordinates)
Set the coordinates property: outlookGeoCoordinates.- Parameters:
coordinates- the coordinates value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
displayName
public String displayName()
Get the displayName property: The name associated with the location.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphLocation withDisplayName(String displayName)
Set the displayName property: The name associated with the location.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
locationEmailAddress
public String locationEmailAddress()
Get the locationEmailAddress property: Optional email address of the location.- Returns:
- the locationEmailAddress value.
-
withLocationEmailAddress
public MicrosoftGraphLocation withLocationEmailAddress(String locationEmailAddress)
Set the locationEmailAddress property: Optional email address of the location.- Parameters:
locationEmailAddress- the locationEmailAddress value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
locationType
public MicrosoftGraphLocationType locationType()
Get the locationType property: The locationType property.- Returns:
- the locationType value.
-
withLocationType
public MicrosoftGraphLocation withLocationType(MicrosoftGraphLocationType locationType)
Set the locationType property: The locationType property.- Parameters:
locationType- the locationType value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
locationUri
public String locationUri()
Get the locationUri property: Optional URI representing the location.- Returns:
- the locationUri value.
-
withLocationUri
public MicrosoftGraphLocation withLocationUri(String locationUri)
Set the locationUri property: Optional URI representing the location.- Parameters:
locationUri- the locationUri value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
uniqueId
public String uniqueId()
Get the uniqueId property: For internal use only.- Returns:
- the uniqueId value.
-
withUniqueId
public MicrosoftGraphLocation withUniqueId(String uniqueId)
Set the uniqueId property: For internal use only.- Parameters:
uniqueId- the uniqueId value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
uniqueIdType
public MicrosoftGraphLocationUniqueIdType uniqueIdType()
Get the uniqueIdType property: The uniqueIdType property.- Returns:
- the uniqueIdType value.
-
withUniqueIdType
public MicrosoftGraphLocation withUniqueIdType(MicrosoftGraphLocationUniqueIdType uniqueIdType)
Set the uniqueIdType property: The uniqueIdType property.- Parameters:
uniqueIdType- the uniqueIdType value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: location.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphLocation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: location.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphLocation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-