@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SummaryMetricQuery extends Object implements Serializable, Cloneable, StructuredPojo
The summary metric query object.
Constructor and Description |
---|
SummaryMetricQuery() |
Modifier and Type | Method and Description |
---|---|
SummaryMetricQuery |
clone() |
boolean |
equals(Object obj) |
String |
getAggregationPeriod()
The aggregation period of the summary metric.
|
List<Dimension> |
getDimensions()
The dimensions of the summary metric.
|
Date |
getEndTimestamp()
The end timestamp for the summary metric query.
|
String |
getMetricName()
The name of the metric.
|
String |
getQueryId()
The id of the summary metric query.
|
Date |
getStartTimestamp()
The start timestamp for the summary metric query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregationPeriod(String aggregationPeriod)
The aggregation period of the summary metric.
|
void |
setDimensions(Collection<Dimension> dimensions)
The dimensions of the summary metric.
|
void |
setEndTimestamp(Date endTimestamp)
The end timestamp for the summary metric query.
|
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setQueryId(String queryId)
The id of the summary metric query.
|
void |
setStartTimestamp(Date startTimestamp)
The start timestamp for the summary metric query.
|
String |
toString()
Returns a string representation of this object.
|
SummaryMetricQuery |
withAggregationPeriod(AggregationPeriod aggregationPeriod)
The aggregation period of the summary metric.
|
SummaryMetricQuery |
withAggregationPeriod(String aggregationPeriod)
The aggregation period of the summary metric.
|
SummaryMetricQuery |
withDimensions(Collection<Dimension> dimensions)
The dimensions of the summary metric.
|
SummaryMetricQuery |
withDimensions(Dimension... dimensions)
The dimensions of the summary metric.
|
SummaryMetricQuery |
withEndTimestamp(Date endTimestamp)
The end timestamp for the summary metric query.
|
SummaryMetricQuery |
withMetricName(MetricName metricName)
The name of the metric.
|
SummaryMetricQuery |
withMetricName(String metricName)
The name of the metric.
|
SummaryMetricQuery |
withQueryId(String queryId)
The id of the summary metric query.
|
SummaryMetricQuery |
withStartTimestamp(Date startTimestamp)
The start timestamp for the summary metric query.
|
public void setQueryId(String queryId)
The id of the summary metric query.
queryId
- The id of the summary metric query.public String getQueryId()
The id of the summary metric query.
public SummaryMetricQuery withQueryId(String queryId)
The id of the summary metric query.
queryId
- The id of the summary metric query.public void setMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.MetricName
public String getMetricName()
The name of the metric.
MetricName
public SummaryMetricQuery withMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.MetricName
public SummaryMetricQuery withMetricName(MetricName metricName)
The name of the metric.
metricName
- The name of the metric.MetricName
public List<Dimension> getDimensions()
The dimensions of the summary metric.
public void setDimensions(Collection<Dimension> dimensions)
The dimensions of the summary metric.
dimensions
- The dimensions of the summary metric.public SummaryMetricQuery withDimensions(Dimension... dimensions)
The dimensions of the summary metric.
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection)
or withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- The dimensions of the summary metric.public SummaryMetricQuery withDimensions(Collection<Dimension> dimensions)
The dimensions of the summary metric.
dimensions
- The dimensions of the summary metric.public void setAggregationPeriod(String aggregationPeriod)
The aggregation period of the summary metric.
aggregationPeriod
- The aggregation period of the summary metric.AggregationPeriod
public String getAggregationPeriod()
The aggregation period of the summary metric.
AggregationPeriod
public SummaryMetricQuery withAggregationPeriod(String aggregationPeriod)
The aggregation period of the summary metric.
aggregationPeriod
- The aggregation period of the summary metric.AggregationPeriod
public SummaryMetricQuery withAggregationPeriod(AggregationPeriod aggregationPeriod)
The aggregation period of the summary metric.
aggregationPeriod
- The aggregation period of the summary metric.AggregationPeriod
public void setStartTimestamp(Date startTimestamp)
The start timestamp for the summary metric query.
startTimestamp
- The start timestamp for the summary metric query.public Date getStartTimestamp()
The start timestamp for the summary metric query.
public SummaryMetricQuery withStartTimestamp(Date startTimestamp)
The start timestamp for the summary metric query.
startTimestamp
- The start timestamp for the summary metric query.public void setEndTimestamp(Date endTimestamp)
The end timestamp for the summary metric query.
endTimestamp
- The end timestamp for the summary metric query.public Date getEndTimestamp()
The end timestamp for the summary metric query.
public SummaryMetricQuery withEndTimestamp(Date endTimestamp)
The end timestamp for the summary metric query.
endTimestamp
- The end timestamp for the summary metric query.public String toString()
toString
in class Object
Object.toString()
public SummaryMetricQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.