NetworkTraceInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. NetworkTraceInner
- com.
Implements
public final class NetworkTraceInner
implements JsonSerializable<NetworkTraceInner>
Network trace.
Constructor Summary
Constructor | Description |
---|---|
NetworkTraceInner() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
String |
message()
Get the message property: Detailed message of a network trace operation, e. |
String |
path()
Get the path property: Local file path for the captured network trace file. |
String |
status()
Get the status property: Current status of the network trace operation, same as Operation. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Network |
withMessage(String message)
Set the message property: Detailed message of a network trace operation, e. |
Network |
withPath(String path)
Set the path property: Local file path for the captured network trace file. |
Network |
withStatus(String status)
Set the status property: Current status of the network trace operation, same as Operation. |
Methods inherited from java.lang.Object
Constructor Details
NetworkTraceInner
public NetworkTraceInner()
Creates an instance of NetworkTraceInner class.
Method Details
fromJson
public static NetworkTraceInner fromJson(JsonReader jsonReader)
Reads an instance of NetworkTraceInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Detailed message of a network trace operation, e.g. error message in case of failure.
Returns:
path
public String path()
Get the path property: Local file path for the captured network trace file.
Returns:
status
public String status()
Get the status property: Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withPath
public NetworkTraceInner withPath(String path)
Set the path property: Local file path for the captured network trace file.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java