public static final class PowerTypes.Info.Builder
extends java.lang.Object
PowerTypes.Info
.Constructor and Description |
---|
PowerTypes.Info.Builder(PowerTypes.State state)
Constructor with parameters for the required properties of
PowerTypes.Info . |
Modifier and Type | Method and Description |
---|---|
PowerTypes.Info |
build() |
PowerTypes.Info.Builder |
setCleanPowerOff(java.lang.Boolean cleanPowerOff)
Flag indicating whether the virtual machine was powered off cleanly.
|
public PowerTypes.Info.Builder(PowerTypes.State state)
PowerTypes.Info
.public PowerTypes.Info.Builder setCleanPowerOff(java.lang.Boolean cleanPowerOff)
getState()
is PowerTypes.State.POWERED_OFF
.cleanPowerOff
- New value for the property.public PowerTypes.Info build()