Class Usage
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.network.bandwidth.version1.Usage
@ApiType("SoftLayer_Container_Network_Bandwidth_Version1_Usage") public class Usage extends Entity
SoftLayer_Container_Network_Bandwidth_Version1_Usage models an hourly bandwidth record.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Usage.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
incomingAmount
The amount of incoming bandwidth that a server has used within the hour of the recordedDate.protected boolean
incomingAmountSpecified
protected BigDecimal
outgoingAmount
The amount of outgoing bandwidth that a server has used within the hour of the recordedDate.protected boolean
outgoingAmountSpecified
protected GregorianCalendar
recordedDate
The date and time that the bandwidth was used by a piece of hardwareprotected boolean
recordedDateSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Usage()
-
Method Summary
Modifier and Type Method Description BigDecimal
getIncomingAmount()
BigDecimal
getOutgoingAmount()
GregorianCalendar
getRecordedDate()
boolean
isIncomingAmountSpecified()
boolean
isOutgoingAmountSpecified()
boolean
isRecordedDateSpecified()
void
setIncomingAmount(BigDecimal incomingAmount)
void
setOutgoingAmount(BigDecimal outgoingAmount)
void
setRecordedDate(GregorianCalendar recordedDate)
void
unsetIncomingAmount()
void
unsetOutgoingAmount()
void
unsetRecordedDate()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
incomingAmount
The amount of incoming bandwidth that a server has used within the hour of the recordedDate. -
incomingAmountSpecified
protected boolean incomingAmountSpecified -
outgoingAmount
The amount of outgoing bandwidth that a server has used within the hour of the recordedDate. -
outgoingAmountSpecified
protected boolean outgoingAmountSpecified -
recordedDate
The date and time that the bandwidth was used by a piece of hardware -
recordedDateSpecified
protected boolean recordedDateSpecified
-
-
Constructor Details
-
Usage
public Usage()
-
-
Method Details
-
getIncomingAmount
-
setIncomingAmount
-
isIncomingAmountSpecified
public boolean isIncomingAmountSpecified() -
unsetIncomingAmount
public void unsetIncomingAmount() -
getOutgoingAmount
-
setOutgoingAmount
-
isOutgoingAmountSpecified
public boolean isOutgoingAmountSpecified() -
unsetOutgoingAmount
public void unsetOutgoingAmount() -
getRecordedDate
-
setRecordedDate
-
isRecordedDateSpecified
public boolean isRecordedDateSpecified() -
unsetRecordedDate
public void unsetRecordedDate()
-