public final class DefaultMeterRequest extends Object implements MeterRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultMeterRequest.Builder |
MeterRequest.Type| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
appId()
The id of the application which created this meter.
|
Collection<Band> |
bands()
The collection of bands to apply on the dataplane.
|
static DefaultMeterRequest.Builder |
builder() |
Optional<MeterContext> |
context()
Returns the callback context for this meter.
|
DeviceId |
deviceId()
The target device for this meter.
|
boolean |
isBurst()
Signals whether this meter applies to bursts only.
|
String |
toString() |
Meter.Unit |
unit()
The unit used within this meter.
|
public DeviceId deviceId()
MeterRequestdeviceId in interface MeterRequestpublic ApplicationId appId()
MeterRequestappId in interface MeterRequestpublic Meter.Unit unit()
MeterRequestunit in interface MeterRequestpublic boolean isBurst()
MeterRequestisBurst in interface MeterRequestpublic Collection<Band> bands()
MeterRequestbands in interface MeterRequestpublic Optional<MeterContext> context()
MeterRequestcontext in interface MeterRequestpublic static DefaultMeterRequest.Builder builder()