Class MicrosoftGraphPhysicalOfficeAddress
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPhysicalOfficeAddress
physicalOfficeAddress.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphPhysicalOfficeAddress class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: physicalOfficeAddress.city()Get the city property: The city.Get the countryOrRegion property: The country or region.Get the officeLocation property: Office location such as building and office number for an organizational contact.Get the postalCode property: The postal code.state()Get the state property: The state.street()Get the street property: The street.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: physicalOfficeAddress.Set the city property: The city.withCountryOrRegion(String countryOrRegion) Set the countryOrRegion property: The country or region.withOfficeLocation(String officeLocation) Set the officeLocation property: Office location such as building and office number for an organizational contact.withPostalCode(String postalCode) Set the postalCode property: The postal code.Set the state property: The state.withStreet(String street) Set the street property: The street.
-
Constructor Details
-
MicrosoftGraphPhysicalOfficeAddress
public MicrosoftGraphPhysicalOfficeAddress()Creates an instance of MicrosoftGraphPhysicalOfficeAddress class.
-
-
Method Details
-
city
Get the city property: The city.- Returns:
- the city value.
-
withCity
Set the city property: The city.- Parameters:
city- the city value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
countryOrRegion
Get the countryOrRegion property: The country or region. It's a free-format string value, for example, 'United States'.- Returns:
- the countryOrRegion value.
-
withCountryOrRegion
Set the countryOrRegion property: The country or region. It's a free-format string value, for example, 'United States'.- Parameters:
countryOrRegion- the countryOrRegion value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
officeLocation
Get the officeLocation property: Office location such as building and office number for an organizational contact.- Returns:
- the officeLocation value.
-
withOfficeLocation
Set the officeLocation property: Office location such as building and office number for an organizational contact.- Parameters:
officeLocation- the officeLocation value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
postalCode
Get the postalCode property: The postal code.- Returns:
- the postalCode value.
-
withPostalCode
Set the postalCode property: The postal code.- Parameters:
postalCode- the postalCode value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
state
Get the state property: The state.- Returns:
- the state value.
-
withState
Set the state property: The state.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
street
Get the street property: The street.- Returns:
- the street value.
-
withStreet
Set the street property: The street.- Parameters:
street- the street value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
additionalProperties
Get the additionalProperties property: physicalOfficeAddress.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPhysicalOfficeAddress withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: physicalOfficeAddress.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-