ServiceGatewayAddress Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ServiceGatewayAddress
- com.
Implements
public final class ServiceGatewayAddress
implements JsonSerializable<ServiceGatewayAddress>
Properties of the service gateway address.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceGatewayAddress() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
address()
Get the address property: Address to update. |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| List<String> |
services()
Get the services property: Collection of services in address. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Service |
withAddress(String address)
Set the address property: Address to update. |
|
Service |
withServices(List<String> services)
Set the services property: Collection of services in address. |
Methods inherited from java.lang.Object
Constructor Details
ServiceGatewayAddress
public ServiceGatewayAddress()
Creates an instance of ServiceGatewayAddress class.
Method Details
address
public String address()
Get the address property: Address to update.
Returns:
fromJson
public static ServiceGatewayAddress fromJson(JsonReader jsonReader)
Reads an instance of ServiceGatewayAddress from the JsonReader.
Parameters:
Returns:
Throws:
services
public List<String> services()
Get the services property: Collection of services in address.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAddress
public ServiceGatewayAddress withAddress(String address)
Set the address property: Address to update.
Parameters:
Returns:
withServices
public ServiceGatewayAddress withServices(List<String> services)
Set the services property: Collection of services in address.
Parameters:
Returns: