Class CeiloMeterSample
- java.lang.Object
-
- org.openstack4j.openstack.telemetry.domain.CeiloMeterSample
-
- All Implemented Interfaces:
Serializable,ModelEntity,Sample
public class CeiloMeterSample extends Object implements Sample
A single measurement for sample.- Author:
- Shital Patil
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CeiloMeterSample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Map<String,Object>getMetadata()StringgetMeter()StringgetProjectId()StringgetRecordedAt()StringgetResourceId()StringgetSource()StringgetTimestamp()Meter.TypegetType()StringgetUnit()StringgetUserId()FloatgetVolume()voidsetMetadata(Map<String,Object> metadata)voidsetProjectId(String projectId)voidsetRecordedAt(String recordedAt)voidsetResourceId(String resourceId)voidsetSource(String source)voidsetTimestamp(String timestamp)StringtoString()
-
-
-
Method Detail
-
getType
public Meter.Type getType()
-
getVolume
public Float getVolume()
-
getSource
public String getSource()
-
getProjectId
public String getProjectId()
- Specified by:
getProjectIdin interfaceSample- Returns:
- he ID of the project or tenant that owns the resource
-
setProjectId
public void setProjectId(String projectId)
- Specified by:
setProjectIdin interfaceSample
-
getUserId
public String getUserId()
-
getResourceId
public String getResourceId()
- Specified by:
getResourceIdin interfaceSample- Returns:
- The ID of the Resource for which the measurements are taken
-
setResourceId
public void setResourceId(String resourceId)
- Specified by:
setResourceIdin interfaceSample
-
getTimestamp
public String getTimestamp()
- Specified by:
getTimestampin interfaceSample- Returns:
- UTC date and time when the measurement was made
-
setTimestamp
public void setTimestamp(String timestamp)
- Specified by:
setTimestampin interfaceSample
-
getMetadata
public Map<String,Object> getMetadata()
- Specified by:
getMetadatain interfaceSample- Returns:
- Arbitrary metadata associated with the resource
-
setMetadata
public void setMetadata(Map<String,Object> metadata)
- Specified by:
setMetadatain interfaceSample
-
getRecordedAt
public String getRecordedAt()
- Specified by:
getRecordedAtin interfaceSample- Returns:
- UTC date and time when the sample was recorded
-
setRecordedAt
public void setRecordedAt(String recordedAt)
- Specified by:
setRecordedAtin interfaceSample
-
-