Share via


ServiceGatewayAddressLocationResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ServiceGatewayAddressLocationResponseInner

Implements

public final class ServiceGatewayAddressLocationResponseInner
implements JsonSerializable<ServiceGatewayAddressLocationResponseInner>

Properties of the service gateway address location.

Constructor Summary

Constructor Description
ServiceGatewayAddressLocationResponseInner()

Creates an instance of ServiceGatewayAddressLocationResponseInner class.

Method Summary

Modifier and Type Method and Description
List<ServiceGatewayAddress> addresses()

Get the addresses property: An array of addresses to create or update in locations.

String addressLocation()

Get the addressLocation property: Location to update.

static ServiceGatewayAddressLocationResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ServiceGatewayAddressLocationResponseInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceGatewayAddressLocationResponseInner withAddresses(List<ServiceGatewayAddress> addresses)

Set the addresses property: An array of addresses to create or update in locations.

ServiceGatewayAddressLocationResponseInner withAddressLocation(String addressLocation)

Set the addressLocation property: Location to update.

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:

the addresses value.

addressLocation

public String addressLocation()

Get the addressLocation property: Location to update.

Returns:

the addressLocation value.

fromJson

public static ServiceGatewayAddressLocationResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ServiceGatewayAddressLocationResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceGatewayAddressLocationResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ServiceGatewayAddressLocationResponseInner.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

addresses - the addresses value to set.

Returns:

the ServiceGatewayAddressLocationResponseInner object itself.

withAddressLocation

public ServiceGatewayAddressLocationResponseInner withAddressLocation(String addressLocation)

Set the addressLocation property: Location to update.

Parameters:

addressLocation - the addressLocation value to set.

Returns:

the ServiceGatewayAddressLocationResponseInner object itself.

Applies to