RuntimeJavaAgent Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. RuntimeJavaAgent
- com.
Implements
public final class RuntimeJavaAgent
implements JsonSerializable<RuntimeJavaAgent>
Diagnostic capabilities achieved by java agent.
Constructor Summary
| Constructor | Description |
|---|---|
| RuntimeJavaAgent() |
Creates an instance of Runtime |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Enable java agent injection for the java app. |
|
static
Runtime |
fromJson(JsonReader jsonReader)
Reads an instance of Runtime |
|
Runtime |
logging()
Get the logging property: Capabilities on the java logging scenario. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Runtime |
withEnabled(Boolean enabled)
Set the enabled property: Enable java agent injection for the java app. |
|
Runtime |
withLogging(RuntimeJavaAgentLogging logging)
Set the logging property: Capabilities on the java logging scenario. |
Methods inherited from java.lang.Object
Constructor Details
RuntimeJavaAgent
public RuntimeJavaAgent()
Creates an instance of RuntimeJavaAgent class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Enable java agent injection for the java app.
Returns:
fromJson
public static RuntimeJavaAgent fromJson(JsonReader jsonReader)
Reads an instance of RuntimeJavaAgent from the JsonReader.
Parameters:
Returns:
Throws:
logging
public RuntimeJavaAgentLogging logging()
Get the logging property: Capabilities on the java logging scenario.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public RuntimeJavaAgent withEnabled(Boolean enabled)
Set the enabled property: Enable java agent injection for the java app.
Parameters:
Returns:
withLogging
public RuntimeJavaAgent withLogging(RuntimeJavaAgentLogging logging)
Set the logging property: Capabilities on the java logging scenario.
Parameters:
Returns: