public class ConsumerPauseResponse extends ApiResponse<ConsumerPauseResponse>
jv, NO_TYPE, PARSE_ERROR_TYPE
Constructor and Description |
---|
ConsumerPauseResponse(Message msg) |
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
getPauseRemaining()
Returns how much time is remaining for this consumer to be paused
|
java.time.ZonedDateTime |
getPauseUntil()
Returns the time until the consumer is paused
|
boolean |
isPaused()
Returns true if the consumer was paused
|
getApiErrorCode, getDescription, getError, getErrorCode, getErrorObject, getJv, getType, hasError, parseMessage, throwOnHasError, toString
public ConsumerPauseResponse(Message msg)
public boolean isPaused()
public java.time.ZonedDateTime getPauseUntil()
public java.time.Duration getPauseRemaining()