MicrosoftGraphPhysicalAddress Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPhysicalAddress
- com.
Implements
public final class MicrosoftGraphPhysicalAddress
implements JsonSerializable<MicrosoftGraphPhysicalAddress>
physicalAddress.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPhysicalAddress() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
city()
Get the city property: The city. |
String |
countryOrRegion()
Get the country |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
postalCode()
Get the postal |
String |
state()
Get the state property: The state. |
String |
street()
Get the street property: The street. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCity(String city)
Set the city property: The city. |
Microsoft |
withCountryOrRegion(String countryOrRegion)
Set the country |
Microsoft |
withPostalCode(String postalCode)
Set the postal |
Microsoft |
withState(String state)
Set the state property: The state. |
Microsoft |
withStreet(String street)
Set the street property: The street. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPhysicalAddress
public MicrosoftGraphPhysicalAddress()
Creates an instance of MicrosoftGraphPhysicalAddress class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: physicalAddress.
Returns:
city
public String city()
Get the city property: The city.
Returns:
countryOrRegion
public String countryOrRegion()
Get the countryOrRegion property: The country or region. It's a free-format string value, for example, 'United States'.
Returns:
fromJson
public static MicrosoftGraphPhysicalAddress fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPhysicalAddress from the JsonReader.
Parameters:
Returns:
Throws:
postalCode
public String postalCode()
Get the postalCode property: The postal code.
Returns:
state
public String state()
Get the state property: The state.
Returns:
street
public String street()
Get the street property: The street.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphPhysicalAddress withAdditionalProperties(Map
Set the additionalProperties property: physicalAddress.
Parameters:
Returns:
withCity
public MicrosoftGraphPhysicalAddress withCity(String city)
Set the city property: The city.
Parameters:
Returns:
withCountryOrRegion
public MicrosoftGraphPhysicalAddress withCountryOrRegion(String countryOrRegion)
Set the countryOrRegion property: The country or region. It's a free-format string value, for example, 'United States'.
Parameters:
Returns:
withPostalCode
public MicrosoftGraphPhysicalAddress withPostalCode(String postalCode)
Set the postalCode property: The postal code.
Parameters:
Returns:
withState
public MicrosoftGraphPhysicalAddress withState(String state)
Set the state property: The state.
Parameters:
Returns:
withStreet
public MicrosoftGraphPhysicalAddress withStreet(String street)
Set the street property: The street.
Parameters:
Returns:
Applies to
Azure SDK for Java