public static final class ShaPredefinedPluginProfileData.Builder
extends java.lang.Object
ShaPredefinedPluginProfileData.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ShaPredefinedPluginProfileData. |
| Modifier and Type | Method and Description |
|---|---|
ShaPredefinedPluginProfileData |
build() |
ShaPredefinedPluginProfileData.Builder |
setCheckInterval(java.lang.Long checkInterval)
The interval of plugin to check the status.
|
ShaPredefinedPluginProfileData.Builder |
setDesiredCrash(java.lang.Boolean desiredCrash)
Whether crash the component which spew too much log
|
ShaPredefinedPluginProfileData.Builder |
setDesiredDuration(java.lang.Long desiredDuration)
The expected rotation of logging format: int64
|
ShaPredefinedPluginProfileData.Builder |
setGranularDesiredDuration(java.lang.String granularDesiredDuration)
The expected rotation for each log
|
ShaPredefinedPluginProfileData.Builder |
setReportInterval(java.lang.Long reportInterval)
The interval of plugin to report the status.
|
ShaPredefinedPluginProfileData.Builder |
setSmallestReportIntervalIfChange(java.lang.Long smallestReportIntervalIfChange)
The smallest report interval if the status is changed.
|
ShaPredefinedPluginProfileData.Builder |
setThreshold(java.lang.Long threshold)
The threshold to alarm logging report format: int64
|
public Builder()
ShaPredefinedPluginProfileData.public ShaPredefinedPluginProfileData.Builder setCheckInterval(java.lang.Long checkInterval)
checkInterval - New value for the property.public ShaPredefinedPluginProfileData.Builder setDesiredCrash(java.lang.Boolean desiredCrash)
desiredCrash - New value for the property.public ShaPredefinedPluginProfileData.Builder setDesiredDuration(java.lang.Long desiredDuration)
desiredDuration - New value for the property.public ShaPredefinedPluginProfileData.Builder setGranularDesiredDuration(java.lang.String granularDesiredDuration)
granularDesiredDuration - New value for the property.public ShaPredefinedPluginProfileData.Builder setReportInterval(java.lang.Long reportInterval)
reportInterval - New value for the property.public ShaPredefinedPluginProfileData.Builder setSmallestReportIntervalIfChange(java.lang.Long smallestReportIntervalIfChange)
smallestReportIntervalIfChange - New value for the property.public ShaPredefinedPluginProfileData.Builder setThreshold(java.lang.Long threshold)
threshold - New value for the property.public ShaPredefinedPluginProfileData build()