Class PacketCaptureQueryStatusResultInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.PacketCaptureQueryStatusResultInner
-
public final class PacketCaptureQueryStatusResultInner extends Object
Status of packet capture session.
-
-
Constructor Summary
Constructors Constructor Description PacketCaptureQueryStatusResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimecaptureStartTime()Get the captureStartTime property: The start time of the packet capture session.Stringid()Get the id property: The ID of the packet capture resource.Stringname()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.PcStatuspacketCaptureStatus()Get the packetCaptureStatus property: The status of the packet capture session.StringstopReason()Get the stopReason property: The reason the current packet capture session was stopped.voidvalidate()Validates the instance.PacketCaptureQueryStatusResultInnerwithCaptureStartTime(OffsetDateTime captureStartTime)Set the captureStartTime property: The start time of the packet capture session.PacketCaptureQueryStatusResultInnerwithId(String id)Set the id property: The ID of the packet capture resource.PacketCaptureQueryStatusResultInnerwithName(String name)Set the name property: The name of the packet capture resource.PacketCaptureQueryStatusResultInnerwithPacketCaptureError(List<PcError> packetCaptureError)Set the packetCaptureError property: List of errors of packet capture session.PacketCaptureQueryStatusResultInnerwithPacketCaptureStatus(PcStatus packetCaptureStatus)Set the packetCaptureStatus property: The status of the packet capture session.PacketCaptureQueryStatusResultInnerwithStopReason(String stopReason)Set the stopReason property: The reason the current packet capture session was stopped.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the packet capture resource.- Returns:
- the name value.
-
withName
public PacketCaptureQueryStatusResultInner withName(String name)
Set the name property: The name of the packet capture resource.- Parameters:
name- the name value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
id
public String id()
Get the id property: The ID of the packet capture resource.- Returns:
- the id value.
-
withId
public PacketCaptureQueryStatusResultInner withId(String id)
Set the id property: The ID of the packet capture resource.- Parameters:
id- the id value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
captureStartTime
public OffsetDateTime captureStartTime()
Get the captureStartTime property: The start time of the packet capture session.- Returns:
- the captureStartTime value.
-
withCaptureStartTime
public PacketCaptureQueryStatusResultInner withCaptureStartTime(OffsetDateTime captureStartTime)
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
public PcStatus packetCaptureStatus()
Get the packetCaptureStatus property: The status of the packet capture session.- Returns:
- the packetCaptureStatus value.
-
withPacketCaptureStatus
public PacketCaptureQueryStatusResultInner withPacketCaptureStatus(PcStatus packetCaptureStatus)
Set the packetCaptureStatus property: The status of the packet capture session.- Parameters:
packetCaptureStatus- the packetCaptureStatus value to set.- Returns:
- the PacketCaptureQueryStatusResultInner object itself.
-
stopReason
public String stopReason()
Get the stopReason property: The reason the current packet capture session was stopped.- Returns:
- the stopReason value.
-
withStopReason
public PacketCaptureQueryStatusResultInner withStopReason(String stopReason)
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
public List<PcError> packetCaptureError()
Get the packetCaptureError property: List of errors of packet capture session.- Returns:
- the packetCaptureError value.
-
withPacketCaptureError
public PacketCaptureQueryStatusResultInner withPacketCaptureError(List<PcError> packetCaptureError)
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.
-
-