Class AppLogsConfiguration


  • public final class AppLogsConfiguration
    extends Object
    Configuration of application logs.
    • Constructor Detail

      • AppLogsConfiguration

        public AppLogsConfiguration()
    • 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.