Class AppLogsConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.AppLogsConfiguration
-
public final class AppLogsConfiguration extends Object
Configuration of application logs.
-
-
Constructor Summary
Constructors Constructor Description AppLogsConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
destination()
Get the destination property: Logs destination.LogAnalyticsConfiguration
logAnalyticsConfiguration()
Get the logAnalyticsConfiguration property: Log Analytics configuration.void
validate()
Validates the instance.AppLogsConfiguration
withDestination(String destination)
Set the destination property: Logs destination.AppLogsConfiguration
withLogAnalyticsConfiguration(LogAnalyticsConfiguration logAnalyticsConfiguration)
Set the logAnalyticsConfiguration property: Log Analytics configuration.
-
-
-
Method Detail
-
destination
public String destination()
Get the destination property: Logs destination.- Returns:
- the destination value.
-
withDestination
public AppLogsConfiguration withDestination(String destination)
Set the destination property: Logs destination.- Parameters:
destination
- the destination value to set.- Returns:
- the AppLogsConfiguration object itself.
-
logAnalyticsConfiguration
public LogAnalyticsConfiguration logAnalyticsConfiguration()
Get the logAnalyticsConfiguration property: Log Analytics configuration.- Returns:
- the logAnalyticsConfiguration value.
-
withLogAnalyticsConfiguration
public AppLogsConfiguration withLogAnalyticsConfiguration(LogAnalyticsConfiguration logAnalyticsConfiguration)
Set the logAnalyticsConfiguration property: Log Analytics configuration.- Parameters:
logAnalyticsConfiguration
- the logAnalyticsConfiguration value to set.- Returns:
- the AppLogsConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-