public static final class HostPrecheckResult.Builder
extends java.lang.Object
HostPrecheckResult
.Constructor and Description |
---|
Builder(HostStatus status)
Constructor with parameters for the required properties of
HostPrecheckResult . |
Modifier and Type | Method and Description |
---|---|
HostPrecheckResult |
build() |
HostPrecheckResult.Builder |
setImpact(HostImpact impact)
This field represents the impact on the host, if the operation was successfully
executed on the host.
|
HostPrecheckResult.Builder |
setPrecheckResult(StatusInfo precheckResult)
This field represents the health check results from the host, if the host needs
to be put in maintenance mode or to be rebooted.
|
public Builder(HostStatus status)
HostPrecheckResult
.public HostPrecheckResult.Builder setImpact(HostImpact impact)
null
if HostPrecheckResult.getStatus()
is
SKIPPED, TIMED_OUT or ERROR.impact
- New value for the property.public HostPrecheckResult.Builder setPrecheckResult(StatusInfo precheckResult)
null
if HostPrecheckResult.getStatus()
is
SKIPPED, TIMED_OUT or ERROR. The field is set if host health checks are invoked.precheckResult
- New value for the property.public HostPrecheckResult build()