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
public class AlarmResponse extends AbstractResponse<io.etcd.jetcd.api.AlarmResponse>
AlarmResponse returned byMaintenance.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 Constructor Description AlarmResponse(io.etcd.jetcd.api.AlarmResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AlarmMember>getAlarms()Returns a list of alarms associated with the alarm request.-
Methods inherited from class io.etcd.jetcd.impl.AbstractResponse
getHeader, getResponse, getResponseHeader, toString
-
-
-
-
Method Detail
-
getAlarms
public java.util.List<AlarmMember> getAlarms()
Returns a list of alarms associated with the alarm request.- Returns:
- the alarms.
-
-