@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SummaryMetricQuery extends Object implements Serializable, Cloneable, StructuredPojo
The 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 metric.
|
List<Dimension> |
getDimensions()
The dimensions of the metric.
|
Date |
getEndTimestamp()
The end timestamp for summary metric query.
|
String |
getMetricName()
The name of the metric.
|
String |
getQueryId()
The id of the query.
|
Date |
getStartTimestamp()
The start timestamp for summary metric query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAggregationPeriod(String aggregationPeriod)
The aggregation period of the metric.
|
void |
setDimensions(Collection<Dimension> dimensions)
The dimensions of the metric.
|
void |
setEndTimestamp(Date endTimestamp)
The end timestamp for summary metric query.
|
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setQueryId(String queryId)
The id of the query.
|
void |
setStartTimestamp(Date startTimestamp)
The start timestamp for summary metric query.
|
String |
toString()
Returns a string representation of this object.
|
SummaryMetricQuery |
withAggregationPeriod(AggregationPeriod aggregationPeriod)
The aggregation period of the metric.
|
SummaryMetricQuery |
withAggregationPeriod(String aggregationPeriod)
The aggregation period of the metric.
|
SummaryMetricQuery |
withDimensions(Collection<Dimension> dimensions)
The dimensions of the metric.
|
SummaryMetricQuery |
withDimensions(Dimension... dimensions)
The dimensions of the metric.
|
SummaryMetricQuery |
withEndTimestamp(Date endTimestamp)
The end timestamp for 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 query.
|
SummaryMetricQuery |
withStartTimestamp(Date startTimestamp)
The start timestamp for summary metric query.
|
public void setQueryId(String queryId)
The id of the query.
queryId - The id of the query.public String getQueryId()
The id of the query.
public SummaryMetricQuery withQueryId(String queryId)
The id of the query.
queryId - The id of the query.public void setMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.MetricNamepublic String getMetricName()
The name of the metric.
MetricNamepublic SummaryMetricQuery withMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.MetricNamepublic SummaryMetricQuery withMetricName(MetricName metricName)
The name of the metric.
metricName - The name of the metric.MetricNamepublic List<Dimension> getDimensions()
The dimensions of the metric.
public void setDimensions(Collection<Dimension> dimensions)
The dimensions of the metric.
dimensions - The dimensions of the metric.public SummaryMetricQuery withDimensions(Dimension... dimensions)
The dimensions of the 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 metric.public SummaryMetricQuery withDimensions(Collection<Dimension> dimensions)
The dimensions of the metric.
dimensions - The dimensions of the metric.public void setAggregationPeriod(String aggregationPeriod)
The aggregation period of the metric.
aggregationPeriod - The aggregation period of the metric.AggregationPeriodpublic String getAggregationPeriod()
The aggregation period of the metric.
AggregationPeriodpublic SummaryMetricQuery withAggregationPeriod(String aggregationPeriod)
The aggregation period of the metric.
aggregationPeriod - The aggregation period of the metric.AggregationPeriodpublic SummaryMetricQuery withAggregationPeriod(AggregationPeriod aggregationPeriod)
The aggregation period of the metric.
aggregationPeriod - The aggregation period of the metric.AggregationPeriodpublic void setStartTimestamp(Date startTimestamp)
The start timestamp for summary metric query.
startTimestamp - The start timestamp for summary metric query.public Date getStartTimestamp()
The start timestamp for summary metric query.
public SummaryMetricQuery withStartTimestamp(Date startTimestamp)
The start timestamp for summary metric query.
startTimestamp - The start timestamp for summary metric query.public void setEndTimestamp(Date endTimestamp)
The end timestamp for summary metric query.
endTimestamp - The end timestamp for summary metric query.public Date getEndTimestamp()
The end timestamp for summary metric query.
public SummaryMetricQuery withEndTimestamp(Date endTimestamp)
The end timestamp for summary metric query.
endTimestamp - The end timestamp for summary metric query.public String toString()
toString in class ObjectObject.toString()public SummaryMetricQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.