Class Data
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.metric.tracking.object.Data
@ApiType("SoftLayer_Metric_Tracking_Object_Data") public class Data extends Entity
SoftLayer_Metric_Tracking_Object_Data models an individual unit of data tracked by a SoftLayer tracking object, including the type of data polled, the date it was polled at, and the counter value that was measured at polling time.
- See Also:
- SoftLayer_Metric_Tracking_Object_Data
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Data.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
counter
The value stored for a data record.protected boolean
counterSpecified
protected GregorianCalendar
dateTime
The time a data record was stored.protected boolean
dateTimeSpecified
protected String
type
The type of data held in a record.protected boolean
typeSpecified
-
Constructor Summary
Constructors Constructor Description Data()
-
Method Summary
Modifier and Type Method Description BigDecimal
getCounter()
GregorianCalendar
getDateTime()
String
getType()
boolean
isCounterSpecified()
boolean
isDateTimeSpecified()
boolean
isTypeSpecified()
void
setCounter(BigDecimal counter)
void
setDateTime(GregorianCalendar dateTime)
void
setType(String type)
void
unsetCounter()
void
unsetDateTime()
void
unsetType()
-
Field Details
-
counter
The value stored for a data record. -
counterSpecified
protected boolean counterSpecified -
dateTime
The time a data record was stored. -
dateTimeSpecified
protected boolean dateTimeSpecified -
type
The type of data held in a record. -
typeSpecified
protected boolean typeSpecified
-
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
getCounter
-
setCounter
-
isCounterSpecified
public boolean isCounterSpecified() -
unsetCounter
public void unsetCounter() -
getDateTime
-
setDateTime
-
isDateTimeSpecified
public boolean isDateTimeSpecified() -
unsetDateTime
public void unsetDateTime() -
getType
-
setType
-
isTypeSpecified
public boolean isTypeSpecified() -
unsetType
public void unsetType()
-