AppLogsConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.AppLogsConfiguration

Implements

public final class AppLogsConfiguration
implements JsonSerializable<AppLogsConfiguration>

The AppLogsConfiguration model.

Constructor Summary

Constructor Description
AppLogsConfiguration()

Creates an instance of AppLogsConfiguration class.

Method Summary

Modifier and Type Method and Description
String destination()

Get the destination property: The destination property.

static AppLogsConfiguration fromJson(JsonReader jsonReader)

Reads an instance of AppLogsConfiguration from the JsonReader.

LogAnalyticsConfiguration logAnalyticsConfiguration()

Get the logAnalyticsConfiguration property: The logAnalyticsConfiguration property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AppLogsConfiguration withDestination(String destination)

Set the destination property: The destination property.

AppLogsConfiguration withLogAnalyticsConfiguration(LogAnalyticsConfiguration logAnalyticsConfiguration)

Set the logAnalyticsConfiguration property: The logAnalyticsConfiguration property.

Methods inherited from java.lang.Object

Constructor Details

AppLogsConfiguration

public AppLogsConfiguration()

Creates an instance of AppLogsConfiguration class.

Method Details

destination

public String destination()

Get the destination property: The destination property.

Returns:

the destination value.

fromJson

public static AppLogsConfiguration fromJson(JsonReader jsonReader)

Reads an instance of AppLogsConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

logAnalyticsConfiguration

public LogAnalyticsConfiguration logAnalyticsConfiguration()

Get the logAnalyticsConfiguration property: The logAnalyticsConfiguration property.

Returns:

the logAnalyticsConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDestination

public AppLogsConfiguration withDestination(String destination)

Set the destination property: The destination property.

Parameters:

destination - the destination value to set.

Returns:

the AppLogsConfiguration object itself.

withLogAnalyticsConfiguration

public AppLogsConfiguration withLogAnalyticsConfiguration(LogAnalyticsConfiguration logAnalyticsConfiguration)

Set the logAnalyticsConfiguration property: The logAnalyticsConfiguration property.

Parameters:

logAnalyticsConfiguration - the logAnalyticsConfiguration value to set.

Returns:

the AppLogsConfiguration object itself.

Applies to