Class PacketCaptureQueryStatusResultInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.PacketCaptureQueryStatusResultInner
Status of packet capture session.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PacketCaptureQueryStatusResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the captureStartTime property: The start time of the packet capture session.id()Get the id property: The ID of the packet capture resource.name()Get the name property: The name of the packet capture resource.Get the packetCaptureError property: List of errors of packet capture session.Get the packetCaptureStatus property: The status of the packet capture session.Get the stopReason property: The reason the current packet capture session was stopped.voidvalidate()Validates the instance.withCaptureStartTime(OffsetDateTime captureStartTime) Set the captureStartTime property: The start time of the packet capture session.Set the id property: The ID of the packet capture resource.Set the name property: The name of the packet capture resource.withPacketCaptureError(List<PcError> packetCaptureError) Set the packetCaptureError property: List of errors of packet capture session.withPacketCaptureStatus(PcStatus packetCaptureStatus) Set the packetCaptureStatus property: The status of the packet capture session.withStopReason(String stopReason) Set the stopReason property: The reason the current packet capture session was stopped.
-
Constructor Details
-
PacketCaptureQueryStatusResultInner
public PacketCaptureQueryStatusResultInner()Creates an instance of PacketCaptureQueryStatusResultInner class.
-
-
Method Details
-
name
Get the name property: The name of the packet capture resource.- Returns:
- the name value.
-
withName
Set the name property: The name of the packet capture resource.- Parameters:
name- the name value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
id
Get the id property: The ID of the packet capture resource.- Returns:
- the id value.
-
withId
Set the id property: The ID of the packet capture resource.- Parameters:
id- the id value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
captureStartTime
Get the captureStartTime property: The start time of the packet capture session.- Returns:
- the captureStartTime value.
-
withCaptureStartTime
Set the captureStartTime property: The start time of the packet capture session.- Parameters:
captureStartTime- the captureStartTime value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
packetCaptureStatus
Get the packetCaptureStatus property: The status of the packet capture session.- Returns:
- the packetCaptureStatus value.
-
withPacketCaptureStatus
Set the packetCaptureStatus property: The status of the packet capture session.- Parameters:
packetCaptureStatus- the packetCaptureStatus value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
stopReason
Get the stopReason property: The reason the current packet capture session was stopped.- Returns:
- the stopReason value.
-
withStopReason
Set the stopReason property: The reason the current packet capture session was stopped.- Parameters:
stopReason- the stopReason value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
packetCaptureError
Get the packetCaptureError property: List of errors of packet capture session.- Returns:
- the packetCaptureError value.
-
withPacketCaptureError
Set the packetCaptureError property: List of errors of packet capture session.- Parameters:
packetCaptureError- the packetCaptureError value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-