Package com.vmware.nsx_policy.model
Class ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder
-
- Enclosing class:
- ShaEsxObsrvSegmentStatsFileDumpMonitorConfig
public static final class ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder extends java.lang.Object
Builder class forShaEsxObsrvSegmentStatsFileDumpMonitorConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofShaEsxObsrvSegmentStatsFileDumpMonitorConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShaEsxObsrvSegmentStatsFileDumpMonitorConfig
build()
ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder
setCheckInterval(java.lang.Long checkInterval)
The interval (in seconds) for collecting the statistics from a node format: int64ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder
setDisableAfter(java.lang.Long disableAfter)
Specify the time (in minutes) that the system must wait after which the monitor is automatically disabled format: int64ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder
setEnable(java.lang.Boolean enable)
Flag to enable/disable this monitorShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder
setFileDumpBackupCountDpSegmentStats(java.lang.Long fileDumpBackupCountDpSegmentStats)
Specify the count of files to store the statistics.ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder
setSegmentList(java.lang.String segmentList)
Specify the VNIs of the overlay segments.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofShaEsxObsrvSegmentStatsFileDumpMonitorConfig
.
-
-
Method Detail
-
setCheckInterval
public ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder setCheckInterval(java.lang.Long checkInterval)
The interval (in seconds) for collecting the statistics from a node format: int64- Parameters:
checkInterval
- New value for the property.
-
setDisableAfter
public ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder setDisableAfter(java.lang.Long disableAfter)
Specify the time (in minutes) that the system must wait after which the monitor is automatically disabled format: int64- Parameters:
disableAfter
- New value for the property.
-
setFileDumpBackupCountDpSegmentStats
public ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder setFileDumpBackupCountDpSegmentStats(java.lang.Long fileDumpBackupCountDpSegmentStats)
Specify the count of files to store the statistics. After the size of a file reaches a certain system-defined maximum limit, it is zipped and a new file is created for storing the statistics format: int64- Parameters:
fileDumpBackupCountDpSegmentStats
- New value for the property.
-
setSegmentList
public ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder setSegmentList(java.lang.String segmentList)
Specify the VNIs of the overlay segments. By default, the list is empty indicating that statistics are not fetched from any segments. To specify multiple segments in the list, use a comma-separated list of VNI (integer) values. A maximum of 10 VNIs is supported in a single API call- Parameters:
segmentList
- New value for the property.
-
setEnable
public ShaEsxObsrvSegmentStatsFileDumpMonitorConfig.Builder setEnable(java.lang.Boolean enable)
Flag to enable/disable this monitor- Parameters:
enable
- New value for the property.
-
build
public ShaEsxObsrvSegmentStatsFileDumpMonitorConfig build()
-
-