public static final class HostTypes.Summary.Builder
extends java.lang.Object
HostTypes.Summary
.Constructor and Description |
---|
HostTypes.Summary.Builder(java.lang.String host,
java.lang.String name,
HostTypes.ConnectionState connectionState)
Constructor with parameters for the required properties of
HostTypes.Summary . |
Modifier and Type | Method and Description |
---|---|
HostTypes.Summary |
build() |
HostTypes.Summary.Builder |
setPowerState(HostTypes.PowerState powerState)
Power state of the host
This property is optional and it is only relevant when the value of
getConnectionState() is HostTypes.ConnectionState.CONNECTED . |
public HostTypes.Summary.Builder(java.lang.String host, java.lang.String name, HostTypes.ConnectionState connectionState)
HostTypes.Summary
.public HostTypes.Summary.Builder setPowerState(HostTypes.PowerState powerState)
getConnectionState()
is HostTypes.ConnectionState.CONNECTED
.powerState
- New value for the property.public HostTypes.Summary build()