| Constructor and Description |
|---|
Builder(boolean enabled)
Constructor with parameters for the required properties of
DrsConfig. |
| Modifier and Type | Method and Description |
|---|---|
DrsConfig |
build() |
DrsConfig.Builder |
setAutomationLevel(DrsConfig.DrsBehaviorInfo automationLevel)
Specifies the cluster-wide default DRS behavior for virtual machines.
|
DrsConfig.Builder |
setMigrationThreshold(java.lang.Long migrationThreshold)
Threshold for generated recommendations.
|
DrsConfig.Builder |
setVirtualMachineAutomation(java.lang.Boolean virtualMachineAutomation)
Flag that dictates whether DRS Behavior overrides for individual VMs.
|
public Builder(boolean enabled)
DrsConfig.public DrsConfig.Builder setAutomationLevel(DrsConfig.DrsBehaviorInfo automationLevel)
null or empty, the value is skipped.automationLevel - New value for the property.public DrsConfig.Builder setMigrationThreshold(java.lang.Long migrationThreshold)
null or empty, the value is skipped.migrationThreshold - New value for the property.public DrsConfig.Builder setVirtualMachineAutomation(java.lang.Boolean virtualMachineAutomation)
virtualMachineAutomation - New value for the property.public DrsConfig build()