public class CeilometerMeterSample extends Object implements MeterSample
Constructor and Description |
---|
CeilometerMeterSample() |
Modifier and Type | Method and Description |
---|---|
String |
getCounterName() |
Meter.Type |
getCounterType() |
String |
getCounterUnit() |
Float |
getCounterVolume() |
String |
getMessageId() |
Map<String,Object> |
getMetadata() |
String |
getProjectId() |
String |
getRecordedAt() |
String |
getResourceId() |
String |
getSource() |
String |
getTimestamp() |
String |
getUserId() |
void |
setCounterName(String counterName) |
void |
setCounterType(Meter.Type meterType) |
void |
setCounterUnit(String counterUnit) |
void |
setCounterVolume(Float counterVolume) |
void |
setMessageId(String messageId) |
void |
setMetadata(Map<String,Object> metadata) |
void |
setProjectId(String projectId) |
void |
setRecordedAt(String recordedAt) |
void |
setResourceId(String resourceId) |
void |
setSource(String source) |
void |
setTimestamp(String timestamp) |
void |
setUserId(String userId) |
String |
toString() |
public String getCounterName()
getCounterName
in interface MeterSample
public Meter.Type getCounterType()
getCounterType
in interface MeterSample
public String getCounterUnit()
getCounterUnit
in interface MeterSample
public Float getCounterVolume()
getCounterVolume
in interface MeterSample
public String getSource()
getSource
in interface MeterSample
public String getProjectId()
getProjectId
in interface MeterSample
public String getUserId()
getUserId
in interface MeterSample
public String getRecordedAt()
getRecordedAt
in interface MeterSample
public String getResourceId()
getResourceId
in interface MeterSample
public String getTimestamp()
getTimestamp
in interface MeterSample
public String getMessageId()
getMessageId
in interface MeterSample
public Map<String,Object> getMetadata()
getMetadata
in interface MeterSample
public void setCounterName(String counterName)
setCounterName
in interface MeterSample
public void setCounterType(Meter.Type meterType)
setCounterType
in interface MeterSample
public void setCounterUnit(String counterUnit)
setCounterUnit
in interface MeterSample
public void setCounterVolume(Float counterVolume)
setCounterVolume
in interface MeterSample
public void setSource(String source)
setSource
in interface MeterSample
public void setProjectId(String projectId)
setProjectId
in interface MeterSample
public void setUserId(String userId)
setUserId
in interface MeterSample
public void setResourceId(String resourceId)
setResourceId
in interface MeterSample
public void setTimestamp(String timestamp)
setTimestamp
in interface MeterSample
public void setRecordedAt(String recordedAt)
setRecordedAt
in interface MeterSample
public void setMessageId(String messageId)
setMessageId
in interface MeterSample
public void setMetadata(Map<String,Object> metadata)
setMetadata
in interface MeterSample
Copyright © 2017. All rights reserved.