ServiceGatewayAddressLocationResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ServiceGatewayAddressLocationResponseInner
- com.
Implements
public final class ServiceGatewayAddressLocationResponseInner
implements JsonSerializable<ServiceGatewayAddressLocationResponseInner>
Properties of the service gateway address location.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceGatewayAddressLocationResponseInner() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Service |
addresses()
Get the addresses property: An array of addresses to create or update in locations. |
| String |
addressLocation()
Get the address |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Service |
withAddresses(List<ServiceGatewayAddress> addresses)
Set the addresses property: An array of addresses to create or update in locations. |
|
Service |
withAddressLocation(String addressLocation)
Set the address |
Methods inherited from java.lang.Object
Constructor Details
ServiceGatewayAddressLocationResponseInner
public ServiceGatewayAddressLocationResponseInner()
Creates an instance of ServiceGatewayAddressLocationResponseInner class.
Method Details
addresses
public List<ServiceGatewayAddress> addresses()
Get the addresses property: An array of addresses to create or update in locations.
Returns:
addressLocation
public String addressLocation()
Get the addressLocation property: Location to update.
Returns:
fromJson
public static ServiceGatewayAddressLocationResponseInner fromJson(JsonReader jsonReader)
Reads an instance of ServiceGatewayAddressLocationResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAddresses
public ServiceGatewayAddressLocationResponseInner withAddresses(List<ServiceGatewayAddress> addresses)
Set the addresses property: An array of addresses to create or update in locations.
Parameters:
Returns:
withAddressLocation
public ServiceGatewayAddressLocationResponseInner withAddressLocation(String addressLocation)
Set the addressLocation property: Location to update.
Parameters:
Returns: