@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SummaryMetricQueryResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of metrics aggregation operation.
| Constructor and Description |
|---|
SummaryMetricQueryResult() |
| Modifier and Type | Method and Description |
|---|---|
SummaryMetricQueryResult |
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 |
getError()
The error message for the summary metric query.
|
String |
getMetricName()
The name of the metric.
|
String |
getQueryId()
The id of the query.
|
String |
getQueryStatus()
The status of the metric query.
|
Date |
getStartTimestamp()
The start timestamp for summary metric query.
|
List<Date> |
getTimestamps()
The timestamp of each aggregation result.
|
String |
getUnit()
The units of measurement to be used for interpreting the aggregation result.
|
List<MetricQueryValue> |
getValues()
The list of aggregated metrics.
|
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 |
setError(String error)
The error message for the summary metric query.
|
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setQueryId(String queryId)
The id of the query.
|
void |
setQueryStatus(String queryStatus)
The status of the metric query.
|
void |
setStartTimestamp(Date startTimestamp)
The start timestamp for summary metric query.
|
void |
setTimestamps(Collection<Date> timestamps)
The timestamp of each aggregation result.
|
void |
setUnit(String unit)
The units of measurement to be used for interpreting the aggregation result.
|
void |
setValues(Collection<MetricQueryValue> values)
The list of aggregated metrics.
|
String |
toString()
Returns a string representation of this object.
|
SummaryMetricQueryResult |
withAggregationPeriod(AggregationPeriod aggregationPeriod)
The aggregation period of the metric.
|
SummaryMetricQueryResult |
withAggregationPeriod(String aggregationPeriod)
The aggregation period of the metric.
|
SummaryMetricQueryResult |
withDimensions(Collection<Dimension> dimensions)
The dimensions of the metric.
|
SummaryMetricQueryResult |
withDimensions(Dimension... dimensions)
The dimensions of the metric.
|
SummaryMetricQueryResult |
withEndTimestamp(Date endTimestamp)
The end timestamp for summary metric query.
|
SummaryMetricQueryResult |
withError(String error)
The error message for the summary metric query.
|
SummaryMetricQueryResult |
withMetricName(MetricName metricName)
The name of the metric.
|
SummaryMetricQueryResult |
withMetricName(String metricName)
The name of the metric.
|
SummaryMetricQueryResult |
withQueryId(String queryId)
The id of the query.
|
SummaryMetricQueryResult |
withQueryStatus(MetricQueryStatus queryStatus)
The status of the metric query.
|
SummaryMetricQueryResult |
withQueryStatus(String queryStatus)
The status of the metric query.
|
SummaryMetricQueryResult |
withStartTimestamp(Date startTimestamp)
The start timestamp for summary metric query.
|
SummaryMetricQueryResult |
withTimestamps(Collection<Date> timestamps)
The timestamp of each aggregation result.
|
SummaryMetricQueryResult |
withTimestamps(Date... timestamps)
The timestamp of each aggregation result.
|
SummaryMetricQueryResult |
withUnit(String unit)
The units of measurement to be used for interpreting the aggregation result.
|
SummaryMetricQueryResult |
withValues(Collection<MetricQueryValue> values)
The list of aggregated metrics.
|
SummaryMetricQueryResult |
withValues(MetricQueryValue... values)
The list of aggregated metrics.
|
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 SummaryMetricQueryResult withQueryId(String queryId)
The id of the query.
queryId - The id of the query.public void setQueryStatus(String queryStatus)
The status of the metric query.
queryStatus - The status of the metric query.MetricQueryStatuspublic String getQueryStatus()
The status of the metric query.
MetricQueryStatuspublic SummaryMetricQueryResult withQueryStatus(String queryStatus)
The status of the metric query.
queryStatus - The status of the metric query.MetricQueryStatuspublic SummaryMetricQueryResult withQueryStatus(MetricQueryStatus queryStatus)
The status of the metric query.
queryStatus - The status of the metric query.MetricQueryStatuspublic void setError(String error)
The error message for the summary metric query.
error - The error message for the summary metric query.public String getError()
The error message for the summary metric query.
public SummaryMetricQueryResult withError(String error)
The error message for the summary metric query.
error - The error message for the summary metric 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 SummaryMetricQueryResult withMetricName(String metricName)
The name of the metric.
metricName - The name of the metric.MetricNamepublic SummaryMetricQueryResult 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 SummaryMetricQueryResult 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 SummaryMetricQueryResult 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 SummaryMetricQueryResult withAggregationPeriod(String aggregationPeriod)
The aggregation period of the metric.
aggregationPeriod - The aggregation period of the metric.AggregationPeriodpublic SummaryMetricQueryResult 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 SummaryMetricQueryResult 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 SummaryMetricQueryResult withEndTimestamp(Date endTimestamp)
The end timestamp for summary metric query.
endTimestamp - The end timestamp for summary metric query.public List<Date> getTimestamps()
The timestamp of each aggregation result.
public void setTimestamps(Collection<Date> timestamps)
The timestamp of each aggregation result.
timestamps - The timestamp of each aggregation result.public SummaryMetricQueryResult withTimestamps(Date... timestamps)
The timestamp of each aggregation result.
NOTE: This method appends the values to the existing list (if any). Use
setTimestamps(java.util.Collection) or withTimestamps(java.util.Collection) if you want to
override the existing values.
timestamps - The timestamp of each aggregation result.public SummaryMetricQueryResult withTimestamps(Collection<Date> timestamps)
The timestamp of each aggregation result.
timestamps - The timestamp of each aggregation result.public List<MetricQueryValue> getValues()
The list of aggregated metrics.
public void setValues(Collection<MetricQueryValue> values)
The list of aggregated metrics.
values - The list of aggregated metrics.public SummaryMetricQueryResult withValues(MetricQueryValue... values)
The list of aggregated metrics.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The list of aggregated metrics.public SummaryMetricQueryResult withValues(Collection<MetricQueryValue> values)
The list of aggregated metrics.
values - The list of aggregated metrics.public void setUnit(String unit)
The units of measurement to be used for interpreting the aggregation result.
unit - The units of measurement to be used for interpreting the aggregation result.public String getUnit()
The units of measurement to be used for interpreting the aggregation result.
public SummaryMetricQueryResult withUnit(String unit)
The units of measurement to be used for interpreting the aggregation result.
unit - The units of measurement to be used for interpreting the aggregation result.public String toString()
toString in class ObjectObject.toString()public SummaryMetricQueryResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.