public final class PacketCaptureQueryStatusResultInner extends Object
| Constructor and Description |
|---|
PacketCaptureQueryStatusResultInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
captureStartTime()
Get the captureStartTime property: The start time of the packet capture session.
|
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<PcError> |
packetCaptureError()
Get the packetCaptureError property: List of errors of packet capture session.
|
PcStatus |
packetCaptureStatus()
Get the packetCaptureStatus property: The status of the packet capture session.
|
String |
stopReason()
Get the stopReason property: The reason the current packet capture session was stopped.
|
void |
validate()
Validates the instance.
|
PacketCaptureQueryStatusResultInner |
withCaptureStartTime(OffsetDateTime captureStartTime)
Set the captureStartTime property: The start time of the packet capture session.
|
PacketCaptureQueryStatusResultInner |
withId(String id)
Set the id property: The ID of the packet capture resource.
|
PacketCaptureQueryStatusResultInner |
withName(String name)
Set the name property: The name of the packet capture resource.
|
PacketCaptureQueryStatusResultInner |
withPacketCaptureError(List<PcError> packetCaptureError)
Set the packetCaptureError property: List of errors of packet capture session.
|
PacketCaptureQueryStatusResultInner |
withPacketCaptureStatus(PcStatus packetCaptureStatus)
Set the packetCaptureStatus property: The status of the packet capture session.
|
PacketCaptureQueryStatusResultInner |
withStopReason(String stopReason)
Set the stopReason property: The reason the current packet capture session was stopped.
|
public String name()
public PacketCaptureQueryStatusResultInner withName(String name)
name - the name value to set.public String id()
public PacketCaptureQueryStatusResultInner withId(String id)
id - the id value to set.public OffsetDateTime captureStartTime()
public PacketCaptureQueryStatusResultInner withCaptureStartTime(OffsetDateTime captureStartTime)
captureStartTime - the captureStartTime value to set.public PcStatus packetCaptureStatus()
public PacketCaptureQueryStatusResultInner withPacketCaptureStatus(PcStatus packetCaptureStatus)
packetCaptureStatus - the packetCaptureStatus value to set.public String stopReason()
public PacketCaptureQueryStatusResultInner withStopReason(String stopReason)
stopReason - the stopReason value to set.public List<PcError> packetCaptureError()
public PacketCaptureQueryStatusResultInner withPacketCaptureError(List<PcError> packetCaptureError)
packetCaptureError - the packetCaptureError value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.