Class LogAnalyticsConfiguration


  • public final class LogAnalyticsConfiguration
    extends Object
    Log analytics configuration.
    • Constructor Detail

      • LogAnalyticsConfiguration

        public LogAnalyticsConfiguration()
    • Method Detail

      • customerId

        public String customerId()
        Get the customerId property: Log analytics customer id.
        Returns:
        the customerId value.
      • withCustomerId

        public LogAnalyticsConfiguration withCustomerId​(String customerId)
        Set the customerId property: Log analytics customer id.
        Parameters:
        customerId - the customerId value to set.
        Returns:
        the LogAnalyticsConfiguration object itself.
      • sharedKey

        public String sharedKey()
        Get the sharedKey property: Log analytics customer key.
        Returns:
        the sharedKey value.
      • withSharedKey

        public LogAnalyticsConfiguration withSharedKey​(String sharedKey)
        Set the sharedKey property: Log analytics customer key.
        Parameters:
        sharedKey - the sharedKey value to set.
        Returns:
        the LogAnalyticsConfiguration object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.