RuntimeJava Class

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

Implements

public final class RuntimeJava
implements JsonSerializable<RuntimeJava>

Java app configuration.

Constructor Summary

Constructor Description
RuntimeJava()

Creates an instance of RuntimeJava class.

Method Summary

Modifier and Type Method and Description
Boolean enableMetrics()

Get the enableMetrics property: Enable jmx core metrics for the java app.

static RuntimeJava fromJson(JsonReader jsonReader)

Reads an instance of RuntimeJava from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RuntimeJava withEnableMetrics(Boolean enableMetrics)

Set the enableMetrics property: Enable jmx core metrics for the java app.

Methods inherited from java.lang.Object

Constructor Details

RuntimeJava

public RuntimeJava()

Creates an instance of RuntimeJava class.

Method Details

enableMetrics

public Boolean enableMetrics()

Get the enableMetrics property: Enable jmx core metrics for the java app.

Returns:

the enableMetrics value.

fromJson

public static RuntimeJava fromJson(JsonReader jsonReader)

Reads an instance of RuntimeJava from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RuntimeJava 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 RuntimeJava.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnableMetrics

public RuntimeJava withEnableMetrics(Boolean enableMetrics)

Set the enableMetrics property: Enable jmx core metrics for the java app.

Parameters:

enableMetrics - the enableMetrics value to set.

Returns:

the RuntimeJava object itself.

Applies to