public final class DefaultMeterRequest extends java.lang.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. 
 | 
java.util.Collection<Band> | 
bands()
The collection of bands to apply on the dataplane. 
 | 
static DefaultMeterRequest.Builder | 
builder()  | 
java.util.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. 
 | 
java.lang.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 java.util.Collection<Band> bands()
MeterRequestbands in interface MeterRequestpublic java.util.Optional<MeterContext> context()
MeterRequestcontext in interface MeterRequestpublic static DefaultMeterRequest.Builder builder()
public java.lang.String toString()
toString in class java.lang.Object