VpnProfileResponseInner Class

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

Implements

public final class VpnProfileResponseInner
implements JsonSerializable<VpnProfileResponseInner>

Vpn Profile Response for package generation.

Constructor Summary

Constructor Description
VpnProfileResponseInner()

Creates an instance of VpnProfileResponseInner class.

Method Summary

Modifier and Type Method and Description
static VpnProfileResponseInner fromJson(JsonReader jsonReader)

Reads an instance of VpnProfileResponseInner from the JsonReader.

String profileUrl()

Get the profileUrl property: URL to the VPN profile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VpnProfileResponseInner withProfileUrl(String profileUrl)

Set the profileUrl property: URL to the VPN profile.

Methods inherited from java.lang.Object

Constructor Details

VpnProfileResponseInner

public VpnProfileResponseInner()

Creates an instance of VpnProfileResponseInner class.

Method Details

fromJson

public static VpnProfileResponseInner fromJson(JsonReader jsonReader)

Reads an instance of VpnProfileResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

profileUrl

public String profileUrl()

Get the profileUrl property: URL to the VPN profile.

Returns:

the profileUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProfileUrl

public VpnProfileResponseInner withProfileUrl(String profileUrl)

Set the profileUrl property: URL to the VPN profile.

Parameters:

profileUrl - the profileUrl value to set.

Returns:

the VpnProfileResponseInner object itself.

Applies to