Package com.vmware.nsx_policy.model
Class ShaPredefinedPluginProfileData.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ShaPredefinedPluginProfileData.Builder
-
- Enclosing class:
- ShaPredefinedPluginProfileData
public static final class ShaPredefinedPluginProfileData.Builder extends java.lang.Object
Builder class forShaPredefinedPluginProfileData
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofShaPredefinedPluginProfileData
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 logShaPredefinedPluginProfileData.Builder
setDesiredDuration(java.lang.Long desiredDuration)
The expected rotation of logging format: int64ShaPredefinedPluginProfileData.Builder
setGranularDesiredDuration(java.lang.String granularDesiredDuration)
The expected rotation for each logShaPredefinedPluginProfileData.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
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofShaPredefinedPluginProfileData
.
-
-
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.
-
build
public ShaPredefinedPluginProfileData build()
-
-