Class NetworkTraceInner


  • public final class NetworkTraceInner
    extends Object
    Network trace.
    • Constructor Detail

      • NetworkTraceInner

        public NetworkTraceInner()
    • Method Detail

      • path

        public String path()
        Get the path property: Local file path for the captured network trace file.
        Returns:
        the path value.
      • withPath

        public NetworkTraceInner withPath​(String path)
        Set the path property: Local file path for the captured network trace file.
        Parameters:
        path - the path value to set.
        Returns:
        the NetworkTraceInner object itself.
      • status

        public String status()
        Get the status property: Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).
        Returns:
        the status value.
      • withStatus

        public NetworkTraceInner withStatus​(String status)
        Set the status property: Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).
        Parameters:
        status - the status value to set.
        Returns:
        the NetworkTraceInner object itself.
      • message

        public String message()
        Get the message property: Detailed message of a network trace operation, e.g. error message in case of failure.
        Returns:
        the message value.
      • withMessage

        public NetworkTraceInner withMessage​(String message)
        Set the message property: Detailed message of a network trace operation, e.g. error message in case of failure.
        Parameters:
        message - the message value to set.
        Returns:
        the NetworkTraceInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.