Class ShaPredefinedPluginProfileData.Builder

    • Method Detail

      • setCheckInterval

        public ShaPredefinedPluginProfileData.Builder setCheckInterval​(java.lang.Long checkInterval)
        The interval of plugin to check the status. format: int64
        Parameters:
        checkInterval - New value for the property.
      • setDesiredCrash

        public ShaPredefinedPluginProfileData.Builder setDesiredCrash​(java.lang.Boolean desiredCrash)
        Whether crash the component which spew too much log
        Parameters:
        desiredCrash - New value for the property.
      • setDesiredDuration

        public ShaPredefinedPluginProfileData.Builder setDesiredDuration​(java.lang.Long desiredDuration)
        The expected rotation of logging format: int64
        Parameters:
        desiredDuration - New value for the property.
      • setGranularDesiredDuration

        public ShaPredefinedPluginProfileData.Builder setGranularDesiredDuration​(java.lang.String granularDesiredDuration)
        The expected rotation for each log
        Parameters:
        granularDesiredDuration - New value for the property.
      • setReportInterval

        public ShaPredefinedPluginProfileData.Builder setReportInterval​(java.lang.Long reportInterval)
        The interval of plugin to report the status. format: int64
        Parameters:
        reportInterval - New value for the property.
      • setSmallestReportIntervalIfChange

        public ShaPredefinedPluginProfileData.Builder setSmallestReportIntervalIfChange​(java.lang.Long smallestReportIntervalIfChange)
        The smallest report interval if the status is changed. The value of smallest_report_interval_if_change should be less than the value of report_interval format: int64
        Parameters:
        smallestReportIntervalIfChange - New value for the property.
      • setThreshold

        public ShaPredefinedPluginProfileData.Builder setThreshold​(java.lang.Long threshold)
        The threshold to alarm logging report format: int64
        Parameters:
        threshold - New value for the property.