PacketCaptureQueryStatusResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. PacketCaptureQueryStatusResultInner
- com.
Implements
public final class PacketCaptureQueryStatusResultInner
implements JsonSerializable<PacketCaptureQueryStatusResultInner>
Status of packet capture session.
Constructor Summary
Constructor | Description |
---|---|
PacketCaptureQueryStatusResultInner() |
Creates an instance of Packet |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
captureStartTime()
Get the capture |
static
Packet |
fromJson(JsonReader jsonReader)
Reads an instance of Packet |
String |
id()
Get the id property: The ID of the packet capture resource. |
String |
name()
Get the name property: The name of the packet capture resource. |
List<Pc |
packetCaptureError()
Get the packet |
Pc |
packetCaptureStatus()
Get the packet |
String |
stopReason()
Get the stop |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Packet |
withCaptureStartTime(OffsetDateTime captureStartTime)
Set the capture |
Packet |
withId(String id)
Set the id property: The ID of the packet capture resource. |
Packet |
withName(String name)
Set the name property: The name of the packet capture resource. |
Packet |
withPacketCaptureError(List<PcError> packetCaptureError)
Set the packet |
Packet |
withPacketCaptureStatus(PcStatus packetCaptureStatus)
Set the packet |
Packet |
withStopReason(String stopReason)
Set the stop |
Methods inherited from java.lang.Object
Constructor Details
PacketCaptureQueryStatusResultInner
public PacketCaptureQueryStatusResultInner()
Creates an instance of PacketCaptureQueryStatusResultInner class.
Method Details
captureStartTime
public OffsetDateTime captureStartTime()
Get the captureStartTime property: The start time of the packet capture session.
Returns:
fromJson
public static PacketCaptureQueryStatusResultInner fromJson(JsonReader jsonReader)
Reads an instance of PacketCaptureQueryStatusResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the packet capture resource.
Returns:
name
public String name()
Get the name property: The name of the packet capture resource.
Returns:
packetCaptureError
public List
Get the packetCaptureError property: List of errors of packet capture session.
Returns:
packetCaptureStatus
public PcStatus packetCaptureStatus()
Get the packetCaptureStatus property: The status of the packet capture session.
Returns:
stopReason
public String stopReason()
Get the stopReason property: The reason the current packet capture session was stopped.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCaptureStartTime
public PacketCaptureQueryStatusResultInner withCaptureStartTime(OffsetDateTime captureStartTime)
Set the captureStartTime property: The start time of the packet capture session.
Parameters:
Returns:
withId
public PacketCaptureQueryStatusResultInner withId(String id)
Set the id property: The ID of the packet capture resource.
Parameters:
Returns:
withName
public PacketCaptureQueryStatusResultInner withName(String name)
Set the name property: The name of the packet capture resource.
Parameters:
Returns:
withPacketCaptureError
public PacketCaptureQueryStatusResultInner withPacketCaptureError(List
Set the packetCaptureError property: List of errors of packet capture session.
Parameters:
Returns:
withPacketCaptureStatus
public PacketCaptureQueryStatusResultInner withPacketCaptureStatus(PcStatus packetCaptureStatus)
Set the packetCaptureStatus property: The status of the packet capture session.
Parameters:
Returns:
withStopReason
public PacketCaptureQueryStatusResultInner withStopReason(String stopReason)
Set the stopReason property: The reason the current packet capture session was stopped.
Parameters:
Returns:
Applies to
Azure SDK for Java