|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.Datapoint
public class Datapoint
Datapoint
Constructor Summary | |
---|---|
Datapoint()
|
Method Summary | |
---|---|
Double |
getAverage()
Returns the value of the Average property for this object. |
String |
getCustomUnit()
Returns the value of the CustomUnit property for this object. |
Double |
getMaximum()
Returns the value of the Maximum property for this object. |
Double |
getMinimum()
Returns the value of the Minimum property for this object. |
Double |
getSamples()
Returns the value of the Samples property for this object. |
Double |
getSum()
Returns the value of the Sum property for this object. |
Date |
getTimestamp()
Returns the value of the Timestamp property for this object. |
String |
getUnit()
Returns the value of the Unit property for this object. |
void |
setAverage(Double average)
Sets the value of the Average property for this object. |
void |
setCustomUnit(String customUnit)
Sets the value of the CustomUnit property for this object. |
void |
setMaximum(Double maximum)
Sets the value of the Maximum property for this object. |
void |
setMinimum(Double minimum)
Sets the value of the Minimum property for this object. |
void |
setSamples(Double samples)
Sets the value of the Samples property for this object. |
void |
setSum(Double sum)
Sets the value of the Sum property for this object. |
void |
setTimestamp(Date timestamp)
Sets the value of the Timestamp property for this object. |
void |
setUnit(String unit)
Sets the value of the Unit property for this object. |
String |
toString()
|
Datapoint |
withAverage(Double average)
Sets the value of the Average property for this object. |
Datapoint |
withCustomUnit(String customUnit)
Sets the value of the CustomUnit property for this object. |
Datapoint |
withMaximum(Double maximum)
Sets the value of the Maximum property for this object. |
Datapoint |
withMinimum(Double minimum)
Sets the value of the Minimum property for this object. |
Datapoint |
withSamples(Double samples)
Sets the value of the Samples property for this object. |
Datapoint |
withSum(Double sum)
Sets the value of the Sum property for this object. |
Datapoint |
withTimestamp(Date timestamp)
Sets the value of the Timestamp property for this object. |
Datapoint |
withUnit(String unit)
Sets the value of the Unit property for this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Datapoint()
Method Detail |
---|
public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp
- The new value for the Timestamp property for this object.public Datapoint withTimestamp(Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- The new value for the Timestamp property for this object.
public String getUnit()
Constraints:
Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None)
public void setUnit(String unit)
Constraints:
Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None)
unit
- The new value for the Unit property for this object.public Datapoint withUnit(String unit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (Seconds|Bytes|Bits|Percent|Count|Bytes/Second|Bits/Second|Count/Second|None)
unit
- The new value for the Unit property for this object.
public String getCustomUnit()
public void setCustomUnit(String customUnit)
customUnit
- The new value for the CustomUnit property for this object.public Datapoint withCustomUnit(String customUnit)
Returns a reference to this object so that method calls can be chained together.
customUnit
- The new value for the CustomUnit property for this object.
public Double getSamples()
public void setSamples(Double samples)
samples
- The new value for the Samples property for this object.public Datapoint withSamples(Double samples)
Returns a reference to this object so that method calls can be chained together.
samples
- The new value for the Samples property for this object.
public Double getAverage()
public void setAverage(Double average)
average
- The new value for the Average property for this object.public Datapoint withAverage(Double average)
Returns a reference to this object so that method calls can be chained together.
average
- The new value for the Average property for this object.
public Double getSum()
public void setSum(Double sum)
sum
- The new value for the Sum property for this object.public Datapoint withSum(Double sum)
Returns a reference to this object so that method calls can be chained together.
sum
- The new value for the Sum property for this object.
public Double getMinimum()
public void setMinimum(Double minimum)
minimum
- The new value for the Minimum property for this object.public Datapoint withMinimum(Double minimum)
Returns a reference to this object so that method calls can be chained together.
minimum
- The new value for the Minimum property for this object.
public Double getMaximum()
public void setMaximum(Double maximum)
maximum
- The new value for the Maximum property for this object.public Datapoint withMaximum(Double maximum)
Returns a reference to this object so that method calls can be chained together.
maximum
- The new value for the Maximum property for this object.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |