HostingEnvironmentDiagnosticsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.HostingEnvironmentDiagnosticsInner

Implements

public final class HostingEnvironmentDiagnosticsInner
implements JsonSerializable<HostingEnvironmentDiagnosticsInner>

Diagnostics for an App Service Environment.

Constructor Summary

Constructor Description
HostingEnvironmentDiagnosticsInner()

Creates an instance of HostingEnvironmentDiagnosticsInner class.

Method Summary

Modifier and Type Method and Description
String diagnosticsOutput()

Get the diagnosticsOutput property: Diagnostics output.

static HostingEnvironmentDiagnosticsInner fromJson(JsonReader jsonReader)

Reads an instance of HostingEnvironmentDiagnosticsInner from the JsonReader.

String name()

Get the name property: Name/identifier of the diagnostics.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HostingEnvironmentDiagnosticsInner withDiagnosticsOutput(String diagnosticsOutput)

Set the diagnosticsOutput property: Diagnostics output.

HostingEnvironmentDiagnosticsInner withName(String name)

Set the name property: Name/identifier of the diagnostics.

Methods inherited from java.lang.Object

Constructor Details

HostingEnvironmentDiagnosticsInner

public HostingEnvironmentDiagnosticsInner()

Creates an instance of HostingEnvironmentDiagnosticsInner class.

Method Details

diagnosticsOutput

public String diagnosticsOutput()

Get the diagnosticsOutput property: Diagnostics output.

Returns:

the diagnosticsOutput value.

fromJson

public static HostingEnvironmentDiagnosticsInner fromJson(JsonReader jsonReader)

Reads an instance of HostingEnvironmentDiagnosticsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name/identifier of the diagnostics.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDiagnosticsOutput

public HostingEnvironmentDiagnosticsInner withDiagnosticsOutput(String diagnosticsOutput)

Set the diagnosticsOutput property: Diagnostics output.

Parameters:

diagnosticsOutput - the diagnosticsOutput value to set.

Returns:

the HostingEnvironmentDiagnosticsInner object itself.

withName

public HostingEnvironmentDiagnosticsInner withName(String name)

Set the name property: Name/identifier of the diagnostics.

Parameters:

name - the name value to set.

Returns:

the HostingEnvironmentDiagnosticsInner object itself.

Applies to