Class DestinationsSpec

    • Constructor Detail

      • DestinationsSpec

        public DestinationsSpec()
    • Method Detail

      • logAnalytics

        public List<LogAnalyticsDestination> logAnalytics()
        Get the logAnalytics property: List of Log Analytics destinations.
        Returns:
        the logAnalytics value.
      • withLogAnalytics

        public DestinationsSpec withLogAnalytics​(List<LogAnalyticsDestination> logAnalytics)
        Set the logAnalytics property: List of Log Analytics destinations.
        Parameters:
        logAnalytics - the logAnalytics value to set.
        Returns:
        the DestinationsSpec object itself.
      • azureMonitorMetrics

        public DestinationsSpecAzureMonitorMetrics azureMonitorMetrics()
        Get the azureMonitorMetrics property: Azure Monitor Metrics destination.
        Returns:
        the azureMonitorMetrics value.
      • withAzureMonitorMetrics

        public DestinationsSpec withAzureMonitorMetrics​(DestinationsSpecAzureMonitorMetrics azureMonitorMetrics)
        Set the azureMonitorMetrics property: Azure Monitor Metrics destination.
        Parameters:
        azureMonitorMetrics - the azureMonitorMetrics value to set.
        Returns:
        the DestinationsSpec object itself.
      • validate

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