public static final class CPUReservation.Builder
extends java.lang.Object
CPUReservation
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CPUReservation . |
Modifier and Type | Method and Description |
---|---|
CPUReservation |
build() |
CPUReservation.Builder |
setReservationInMhz(java.lang.Long reservationInMhz)
The CPU reservation in MHz is the guaranteed minimum amount of clock cycles that
the vmkernel CPU scheduler will give the Edge VM in case of contention.
|
CPUReservation.Builder |
setReservationInShares(java.lang.String reservationInShares)
Possible values are:
CPUReservation.RESERVATION_IN_SHARES_EXTRA_HIGH_PRIORITY
CPUReservation.RESERVATION_IN_SHARES_HIGH_PRIORITY
CPUReservation.RESERVATION_IN_SHARES_NORMAL_PRIORITY
CPUReservation.RESERVATION_IN_SHARES_LOW_PRIORITY
Shares specify the relative importance of a virtual machine on a given
host. |
public Builder()
CPUReservation
.public CPUReservation.Builder setReservationInMhz(java.lang.Long reservationInMhz)
reservationInMhz
- New value for the property.public CPUReservation.Builder setReservationInShares(java.lang.String reservationInShares)
reservationInShares
- New value for the property.public CPUReservation build()