RuntimeJavaAgentLogging Class

  • java.lang.Object
    • com.azure.resourcemanager.appcontainers.models.RuntimeJavaAgentLogging

Implements

public final class RuntimeJavaAgentLogging
implements JsonSerializable<RuntimeJavaAgentLogging>

Capabilities on the java logging scenario.

Constructor Summary

Constructor Description
RuntimeJavaAgentLogging()

Creates an instance of RuntimeJavaAgentLogging class.

Method Summary

Modifier and Type Method and Description
static RuntimeJavaAgentLogging fromJson(JsonReader jsonReader)

Reads an instance of RuntimeJavaAgentLogging from the JsonReader.

List<LoggerSetting> loggerSettings()

Get the loggerSettings property: Settings of the logger for the java app.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RuntimeJavaAgentLogging withLoggerSettings(List<LoggerSetting> loggerSettings)

Set the loggerSettings property: Settings of the logger for the java app.

Methods inherited from java.lang.Object

Constructor Details

RuntimeJavaAgentLogging

public RuntimeJavaAgentLogging()

Creates an instance of RuntimeJavaAgentLogging class.

Method Details

fromJson

public static RuntimeJavaAgentLogging fromJson(JsonReader jsonReader)

Reads an instance of RuntimeJavaAgentLogging from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RuntimeJavaAgentLogging if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RuntimeJavaAgentLogging.

loggerSettings

public List<LoggerSetting> loggerSettings()

Get the loggerSettings property: Settings of the logger for the java app.

Returns:

the loggerSettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLoggerSettings

public RuntimeJavaAgentLogging withLoggerSettings(List<LoggerSetting> loggerSettings)

Set the loggerSettings property: Settings of the logger for the java app.

Parameters:

loggerSettings - the loggerSettings value to set.

Returns:

the RuntimeJavaAgentLogging object itself.

Applies to