Class Object
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.metric.tracking.Object
-
- Direct Known Subclasses:
Abstract
@ApiType("SoftLayer_Metric_Tracking_Object") public class Object extends Entity
Metric tracking objects provides a common interface to all metrics provided by SoftLayer. These metrics range from network component traffic for a server to aggregated Bandwidth Pooling traffic and more. Every object within SoftLayer's range of objects that has data that can be tracked over time has an associated tracking object. Use the [[SoftLayer_Metric_Tracking_Object]] service to retrieve raw and graph data from a tracking object.- See Also:
- SoftLayer_Metric_Tracking_Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Object.Mask
static interface
Object.Service
Metric tracking objects provides a common interface to all metrics provided by SoftLayer.static interface
Object.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected List<Data>
data
The data recorded by a tracking object.protected boolean
dataSpecified
protected Long
id
A tracking object's internal identifier.protected boolean
idSpecified
protected String
label
Tracking object labelprotected boolean
labelSpecified
protected Long
resourceTableId
The identifier of the existing resource this object is attempting to track.protected boolean
resourceTableIdSpecified
protected GregorianCalendar
startDate
The date this tracker began tracking this particular resource.protected boolean
startDateSpecified
protected Type
type
The type of data that a tracking object polls.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Object()
-
Method Summary
Modifier and Type Method Description Object.Service
asService(ApiClient client)
List<Data>
getData()
Long
getId()
String
getLabel()
Long
getResourceTableId()
GregorianCalendar
getStartDate()
Type
getType()
boolean
isDataSpecified()
boolean
isIdSpecified()
boolean
isLabelSpecified()
boolean
isResourceTableIdSpecified()
boolean
isStartDateSpecified()
static Object.Service
service(ApiClient client)
static Object.Service
service(ApiClient client, Long id)
void
setId(Long id)
void
setLabel(String label)
void
setResourceTableId(Long resourceTableId)
void
setStartDate(GregorianCalendar startDate)
void
setType(Type type)
void
unsetData()
void
unsetId()
void
unsetLabel()
void
unsetResourceTableId()
void
unsetStartDate()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
type
@ApiProperty protected Type type
The type of data that a tracking object polls.
-
data
@ApiProperty(canBeNullOrNotSet=true) protected List<Data> data
The data recorded by a tracking object.
-
dataSpecified
protected boolean dataSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A tracking object's internal identifier.
-
idSpecified
protected boolean idSpecified
-
label
@ApiProperty(canBeNullOrNotSet=true) protected String label
Tracking object label
-
labelSpecified
protected boolean labelSpecified
-
resourceTableId
@ApiProperty(canBeNullOrNotSet=true) protected Long resourceTableId
The identifier of the existing resource this object is attempting to track.
-
resourceTableIdSpecified
protected boolean resourceTableIdSpecified
-
startDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar startDate
The date this tracker began tracking this particular resource.
-
startDateSpecified
protected boolean startDateSpecified
-
-
Method Detail
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
isDataSpecified
public boolean isDataSpecified()
-
unsetData
public void unsetData()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
isLabelSpecified
public boolean isLabelSpecified()
-
unsetLabel
public void unsetLabel()
-
getResourceTableId
public Long getResourceTableId()
-
setResourceTableId
public void setResourceTableId(Long resourceTableId)
-
isResourceTableIdSpecified
public boolean isResourceTableIdSpecified()
-
unsetResourceTableId
public void unsetResourceTableId()
-
getStartDate
public GregorianCalendar getStartDate()
-
setStartDate
public void setStartDate(GregorianCalendar startDate)
-
isStartDateSpecified
public boolean isStartDateSpecified()
-
unsetStartDate
public void unsetStartDate()
-
asService
public Object.Service asService(ApiClient client)
-
service
public static Object.Service service(ApiClient client)
-
service
public static Object.Service service(ApiClient client, Long id)
-
-