public class HeatResourceHealth extends Object implements ResourceHealth
Modifier and Type | Class and Description |
---|---|
static class |
HeatResourceHealth.HeatResourceHealthBuilder
A Builder to create a
HeatResourceHealth . |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
HeatResourceHealth() |
Modifier and Type | Method and Description |
---|---|
static HeatResourceHealth.HeatResourceHealthBuilder |
builder()
Returnes a
HeatResourceHealth.HeatResourceHealthBuilder for configuration and
creation of a HeatResourceHealth object. |
String |
getResourceStatusReason() |
boolean |
isMarkUnhealthy() |
void |
setMarkUnhealthy(boolean markUnhealthy) |
void |
setResourceStatusReason(String resourceStatusReason) |
ResourceHealthBuilder |
toBuilder() |
String |
toString() |
public static HeatResourceHealth.HeatResourceHealthBuilder builder()
HeatResourceHealth.HeatResourceHealthBuilder
for configuration and
creation of a HeatResourceHealth
object.HeatResourceHealth.HeatResourceHealthBuilder
public ResourceHealthBuilder toBuilder()
toBuilder
in interface Buildable<ResourceHealthBuilder>
public boolean isMarkUnhealthy()
isMarkUnhealthy
in interface ResourceHealth
public void setMarkUnhealthy(boolean markUnhealthy)
setMarkUnhealthy
in interface ResourceHealth
public String getResourceStatusReason()
getResourceStatusReason
in interface ResourceHealth
public void setResourceStatusReason(String resourceStatusReason)
setResourceStatusReason
in interface ResourceHealth
Copyright © 2017. All rights reserved.