Class MicrosoftGraphPhysicalOfficeAddress
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPhysicalOfficeAddress
-
public final class MicrosoftGraphPhysicalOfficeAddress extends Object
physicalOfficeAddress.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPhysicalOfficeAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: physicalOfficeAddress.Stringcity()Get the city property: The city.StringcountryOrRegion()Get the countryOrRegion property: The country or region.StringofficeLocation()Get the officeLocation property: Office location such as building and office number for an organizational contact.StringpostalCode()Get the postalCode property: The postal code.Stringstate()Get the state property: The state.Stringstreet()Get the street property: The street.voidvalidate()Validates the instance.MicrosoftGraphPhysicalOfficeAddresswithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: physicalOfficeAddress.MicrosoftGraphPhysicalOfficeAddresswithCity(String city)Set the city property: The city.MicrosoftGraphPhysicalOfficeAddresswithCountryOrRegion(String countryOrRegion)Set the countryOrRegion property: The country or region.MicrosoftGraphPhysicalOfficeAddresswithOfficeLocation(String officeLocation)Set the officeLocation property: Office location such as building and office number for an organizational contact.MicrosoftGraphPhysicalOfficeAddresswithPostalCode(String postalCode)Set the postalCode property: The postal code.MicrosoftGraphPhysicalOfficeAddresswithState(String state)Set the state property: The state.MicrosoftGraphPhysicalOfficeAddresswithStreet(String street)Set the street property: The street.
-
-
-
Method Detail
-
city
public String city()
Get the city property: The city.- Returns:
- the city value.
-
withCity
public MicrosoftGraphPhysicalOfficeAddress withCity(String city)
Set the city property: The city.- Parameters:
city- the city value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
countryOrRegion
public String 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
public MicrosoftGraphPhysicalOfficeAddress withCountryOrRegion(String countryOrRegion)
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
public String officeLocation()
Get the officeLocation property: Office location such as building and office number for an organizational contact.- Returns:
- the officeLocation value.
-
withOfficeLocation
public MicrosoftGraphPhysicalOfficeAddress withOfficeLocation(String officeLocation)
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
public String postalCode()
Get the postalCode property: The postal code.- Returns:
- the postalCode value.
-
withPostalCode
public MicrosoftGraphPhysicalOfficeAddress withPostalCode(String postalCode)
Set the postalCode property: The postal code.- Parameters:
postalCode- the postalCode value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
state
public String state()
Get the state property: The state.- Returns:
- the state value.
-
withState
public MicrosoftGraphPhysicalOfficeAddress withState(String state)
Set the state property: The state.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
street
public String street()
Get the street property: The street.- Returns:
- the street value.
-
withStreet
public MicrosoftGraphPhysicalOfficeAddress withStreet(String street)
Set the street property: The street.- Parameters:
street- the street value to set.- Returns:
- the MicrosoftGraphPhysicalOfficeAddress object itself.
-
additionalProperties
public Map<String,Object> 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.
-
-