VpnPacketCaptureStartParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters

Implements

public final class VpnPacketCaptureStartParameters
implements JsonSerializable<VpnPacketCaptureStartParameters>

Start packet capture parameters on virtual network gateway.

Constructor Summary

Constructor Description
VpnPacketCaptureStartParameters()

Creates an instance of VpnPacketCaptureStartParameters class.

Method Summary

Modifier and Type Method and Description
String filterData()

Get the filterData property: Start Packet capture parameters.

static VpnPacketCaptureStartParameters fromJson(JsonReader jsonReader)

Reads an instance of VpnPacketCaptureStartParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VpnPacketCaptureStartParameters withFilterData(String filterData)

Set the filterData property: Start Packet capture parameters.

Methods inherited from java.lang.Object

Constructor Details

VpnPacketCaptureStartParameters

public VpnPacketCaptureStartParameters()

Creates an instance of VpnPacketCaptureStartParameters class.

Method Details

filterData

public String filterData()

Get the filterData property: Start Packet capture parameters.

Returns:

the filterData value.

fromJson

public static VpnPacketCaptureStartParameters fromJson(JsonReader jsonReader)

Reads an instance of VpnPacketCaptureStartParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFilterData

public VpnPacketCaptureStartParameters withFilterData(String filterData)

Set the filterData property: Start Packet capture parameters.

Parameters:

filterData - the filterData value to set.

Returns:

the VpnPacketCaptureStartParameters object itself.

Applies to