LocalNetworkGatewayPropertiesFormat Class

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

Implements

public final class LocalNetworkGatewayPropertiesFormat
implements JsonSerializable<LocalNetworkGatewayPropertiesFormat>

LocalNetworkGateway properties.

Constructor Summary

Constructor Description
LocalNetworkGatewayPropertiesFormat()

Creates an instance of LocalNetworkGatewayPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
BgpSettings bgpSettings()

Get the bgpSettings property: Local network gateway's BGP speaker settings.

String fqdn()

Get the fqdn property: FQDN of local network gateway.

static LocalNetworkGatewayPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of LocalNetworkGatewayPropertiesFormat from the JsonReader.

String gatewayIpAddress()

Get the gatewayIpAddress property: IP address of local network gateway.

AddressSpace localNetworkAddressSpace()

Get the localNetworkAddressSpace property: Local network site address space.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the local network gateway resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the local network gateway resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LocalNetworkGatewayPropertiesFormat withBgpSettings(BgpSettings bgpSettings)

Set the bgpSettings property: Local network gateway's BGP speaker settings.

LocalNetworkGatewayPropertiesFormat withFqdn(String fqdn)

Set the fqdn property: FQDN of local network gateway.

LocalNetworkGatewayPropertiesFormat withGatewayIpAddress(String gatewayIpAddress)

Set the gatewayIpAddress property: IP address of local network gateway.

LocalNetworkGatewayPropertiesFormat withLocalNetworkAddressSpace(AddressSpace localNetworkAddressSpace)

Set the localNetworkAddressSpace property: Local network site address space.

Methods inherited from java.lang.Object

Constructor Details

LocalNetworkGatewayPropertiesFormat

public LocalNetworkGatewayPropertiesFormat()

Creates an instance of LocalNetworkGatewayPropertiesFormat class.

Method Details

bgpSettings

public BgpSettings bgpSettings()

Get the bgpSettings property: Local network gateway's BGP speaker settings.

Returns:

the bgpSettings value.

fqdn

public String fqdn()

Get the fqdn property: FQDN of local network gateway.

Returns:

the fqdn value.

fromJson

public static LocalNetworkGatewayPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of LocalNetworkGatewayPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LocalNetworkGatewayPropertiesFormat 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 LocalNetworkGatewayPropertiesFormat.

gatewayIpAddress

public String gatewayIpAddress()

Get the gatewayIpAddress property: IP address of local network gateway.

Returns:

the gatewayIpAddress value.

localNetworkAddressSpace

public AddressSpace localNetworkAddressSpace()

Get the localNetworkAddressSpace property: Local network site address space.

Returns:

the localNetworkAddressSpace value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the local network gateway resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the local network gateway resource.

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBgpSettings

public LocalNetworkGatewayPropertiesFormat withBgpSettings(BgpSettings bgpSettings)

Set the bgpSettings property: Local network gateway's BGP speaker settings.

Parameters:

bgpSettings - the bgpSettings value to set.

Returns:

the LocalNetworkGatewayPropertiesFormat object itself.

withFqdn

public LocalNetworkGatewayPropertiesFormat withFqdn(String fqdn)

Set the fqdn property: FQDN of local network gateway.

Parameters:

fqdn - the fqdn value to set.

Returns:

the LocalNetworkGatewayPropertiesFormat object itself.

withGatewayIpAddress

public LocalNetworkGatewayPropertiesFormat withGatewayIpAddress(String gatewayIpAddress)

Set the gatewayIpAddress property: IP address of local network gateway.

Parameters:

gatewayIpAddress - the gatewayIpAddress value to set.

Returns:

the LocalNetworkGatewayPropertiesFormat object itself.

withLocalNetworkAddressSpace

public LocalNetworkGatewayPropertiesFormat withLocalNetworkAddressSpace(AddressSpace localNetworkAddressSpace)

Set the localNetworkAddressSpace property: Local network site address space.

Parameters:

localNetworkAddressSpace - the localNetworkAddressSpace value to set.

Returns:

the LocalNetworkGatewayPropertiesFormat object itself.

Applies to