Package com.ibm.cloud.is.vpc.v1.model
Class InstanceHealthReason
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.InstanceHealthReason
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceHealthReason extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceHealthReason.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceHealthReason.Code
A reason code for this health state: - `reservation_capacity_unavailable`: The reservation affinity pool has no available capacity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Gets the code.String
getMessage()
Gets the message.String
getMoreInfo()
Gets the moreInfo.
-
-
-
Method Detail
-
getCode
public String getCode()
Gets the code. A reason code for this health state: - `reservation_capacity_unavailable`: The reservation affinity pool has no available capacity. - `reservation_deleted`: The reservation affinity pool has a deleted reservation. - `reservation_expired`: The reservation affinity pool has an expired reservation. - `reservation_failed`: The reservation affinity pool has a failed reservation. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the code
-
getMessage
public String getMessage()
Gets the message. An explanation of the reason for this health state.- Returns:
- the message
-
getMoreInfo
public String getMoreInfo()
Gets the moreInfo. Link to documentation about the reason for this health state.- Returns:
- the moreInfo
-
-