SelfTracing Class
- java.
lang. Object - com.
azure. resourcemanager. iotoperations. models. SelfTracing
- com.
Implements
public final class SelfTracing
implements JsonSerializable<SelfTracing>
Diagnostic Self tracing properties.
Constructor Summary
| Constructor | Description |
|---|---|
| SelfTracing() |
Creates an instance of Self |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Self |
fromJson(JsonReader jsonReader)
Reads an instance of Self |
| Integer |
intervalSeconds()
Get the interval |
|
Operational |
mode()
Get the mode property: The toggle to enable/disable self tracing. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Self |
withIntervalSeconds(Integer intervalSeconds)
Set the interval |
|
Self |
withMode(OperationalMode mode)
Set the mode property: The toggle to enable/disable self tracing. |
Methods inherited from java.lang.Object
Constructor Details
SelfTracing
public SelfTracing()
Creates an instance of SelfTracing class.
Method Details
fromJson
public static SelfTracing fromJson(JsonReader jsonReader)
Reads an instance of SelfTracing from the JsonReader.
Parameters:
Returns:
Throws:
intervalSeconds
public Integer intervalSeconds()
Get the intervalSeconds property: The self tracing interval.
Returns:
mode
public OperationalMode mode()
Get the mode property: The toggle to enable/disable self tracing.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIntervalSeconds
public SelfTracing withIntervalSeconds(Integer intervalSeconds)
Set the intervalSeconds property: The self tracing interval.
Parameters:
Returns:
withMode
public SelfTracing withMode(OperationalMode mode)
Set the mode property: The toggle to enable/disable self tracing.
Parameters:
Returns: