|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudwatch.model.GetMetricStatisticsRequest
public class GetMetricStatisticsRequest
Get Metric Statistics Request
Constructor Summary | |
---|---|
GetMetricStatisticsRequest()
|
Method Summary | |
---|---|
String |
getCustomUnit()
Returns the value of the CustomUnit property for this object. |
List<Dimension> |
getDimensions()
Returns the value of the Dimensions property for this object. |
Date |
getEndTime()
Returns the value of the EndTime property for this object. |
String |
getMeasureName()
Returns the value of the MeasureName property for this object. |
String |
getNamespace()
Returns the value of the Namespace property for this object. |
Integer |
getPeriod()
Returns the value of the Period property for this object. |
Date |
getStartTime()
Returns the value of the StartTime property for this object. |
List<String> |
getStatistics()
Returns the value of the Statistics property for this object. |
String |
getUnit()
Returns the value of the Unit property for this object. |
void |
setCustomUnit(String customUnit)
Sets the value of the CustomUnit property for this object. |
void |
setDimensions(Collection<Dimension> dimensions)
Sets the value of the Dimensions property for this object. |
void |
setEndTime(Date endTime)
Sets the value of the EndTime property for this object. |
void |
setMeasureName(String measureName)
Sets the value of the MeasureName property for this object. |
void |
setNamespace(String namespace)
Sets the value of the Namespace property for this object. |
void |
setPeriod(Integer period)
Sets the value of the Period property for this object. |
void |
setStartTime(Date startTime)
Sets the value of the StartTime property for this object. |
void |
setStatistics(Collection<String> statistics)
Sets the value of the Statistics property for this object. |
void |
setUnit(String unit)
Sets the value of the Unit property for this object. |
String |
toString()
|
GetMetricStatisticsRequest |
withCustomUnit(String customUnit)
Sets the value of the CustomUnit property for this object. |
GetMetricStatisticsRequest |
withDimensions(Collection<Dimension> dimensions)
Sets the value of the Dimensions property for this object. |
GetMetricStatisticsRequest |
withDimensions(Dimension... dimensions)
Sets the value of the Dimensions property for this object. |
GetMetricStatisticsRequest |
withEndTime(Date endTime)
Sets the value of the EndTime property for this object. |
GetMetricStatisticsRequest |
withMeasureName(String measureName)
Sets the value of the MeasureName property for this object. |
GetMetricStatisticsRequest |
withNamespace(String namespace)
Sets the value of the Namespace property for this object. |
GetMetricStatisticsRequest |
withPeriod(Integer period)
Sets the value of the Period property for this object. |
GetMetricStatisticsRequest |
withStartTime(Date startTime)
Sets the value of the StartTime property for this object. |
GetMetricStatisticsRequest |
withStatistics(Collection<String> statistics)
Sets the value of the Statistics property for this object. |
GetMetricStatisticsRequest |
withStatistics(String... statistics)
Sets the value of the Statistics property for this object. |
GetMetricStatisticsRequest |
withUnit(String unit)
Sets the value of the Unit property for this object. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetMetricStatisticsRequest()
Method Detail |
---|
public List<String> getStatistics()
public void setStatistics(Collection<String> statistics)
statistics
- The new value for the Statistics property for this object.public GetMetricStatisticsRequest withStatistics(String... statistics)
Returns a reference to this object so that method calls can be chained together.
statistics
- The new value for the Statistics property for this object.
public GetMetricStatisticsRequest withStatistics(Collection<String> statistics)
Returns a reference to this object so that method calls can be chained together.
statistics
- The new value for the Statistics property for this object.
public Integer getPeriod()
public void setPeriod(Integer period)
period
- The new value for the Period property for this object.public GetMetricStatisticsRequest withPeriod(Integer period)
Returns a reference to this object so that method calls can be chained together.
period
- The new value for the Period property for this object.
public String getMeasureName()
public void setMeasureName(String measureName)
measureName
- The new value for the MeasureName property for this object.public GetMetricStatisticsRequest withMeasureName(String measureName)
Returns a reference to this object so that method calls can be chained together.
measureName
- The new value for the MeasureName property for this object.
public List<Dimension> getDimensions()
public void setDimensions(Collection<Dimension> dimensions)
dimensions
- The new value for the Dimensions property for this object.public GetMetricStatisticsRequest withDimensions(Dimension... dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions
- The new value for the Dimensions property for this object.
public GetMetricStatisticsRequest withDimensions(Collection<Dimension> dimensions)
Returns a reference to this object so that method calls can be chained together.
dimensions
- The new value for the Dimensions property for this object.
public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The new value for the StartTime property for this object.public GetMetricStatisticsRequest withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The new value for the StartTime property for this object.
public Date getEndTime()
public void setEndTime(Date endTime)
endTime
- The new value for the EndTime property for this object.public GetMetricStatisticsRequest withEndTime(Date endTime)
Returns a reference to this object so that method calls can be chained together.
endTime
- The new value for the EndTime 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 GetMetricStatisticsRequest 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 GetMetricStatisticsRequest 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 String getNamespace()
Constraints:
Pattern: [^:].*
public void setNamespace(String namespace)
Constraints:
Pattern: [^:].*
namespace
- The new value for the Namespace property for this object.public GetMetricStatisticsRequest withNamespace(String namespace)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [^:].*
namespace
- The new value for the Namespace 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 |