Class NetworkTraceInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.NetworkTraceInner
-
public final class NetworkTraceInner extends Object
Network trace.
-
-
Constructor Summary
Constructors Constructor Description NetworkTraceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmessage()Get the message property: Detailed message of a network trace operation, e.g.Stringpath()Get the path property: Local file path for the captured network trace file.Stringstatus()Get the status property: Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).voidvalidate()Validates the instance.NetworkTraceInnerwithMessage(String message)Set the message property: Detailed message of a network trace operation, e.g.NetworkTraceInnerwithPath(String path)Set the path property: Local file path for the captured network trace file.NetworkTraceInnerwithStatus(String status)Set the status property: Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).
-
-
-
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.
-
-