Package io.etcd.jetcd.maintenance
Class AlarmResponse
java.lang.Object
io.etcd.jetcd.impl.AbstractResponse<io.etcd.jetcd.api.AlarmResponse>
io.etcd.jetcd.maintenance.AlarmResponse
- All Implemented Interfaces:
Response
AlarmResponse returned by
Maintenance.listAlarms() contains a header
and a list of AlarmMember.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.etcd.jetcd.Response
Response.Header -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of alarms associated with the alarm request.Methods inherited from class io.etcd.jetcd.impl.AbstractResponse
getHeader, getResponse, getResponseHeader, toString
-
Constructor Details
-
AlarmResponse
public AlarmResponse(io.etcd.jetcd.api.AlarmResponse response)
-
-
Method Details
-
getAlarms
Returns a list of alarms associated with the alarm request.- Returns:
- the alarms.
-