@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SummaryMetricQueryResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of the summary 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 the summary metric query.
|
String |
getError()
The error message for the summary metric query result.
|
String |
getMetricName()
The name of the summary metric query result.
|
String |
getQueryId()
The ID of the summary metric results query operation.
|
String |
getQueryStatus()
The status of the summary metric query result.
|
Date |
getStartTimestamp()
The start timestamp for the 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 summary metric query results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 the summary metric query.
|
void |
setError(String error)
The error message for the summary metric query result.
|
void |
setMetricName(String metricName)
The name of the summary metric query result.
|
void |
setQueryId(String queryId)
The ID of the summary metric results query operation.
|
void |
setQueryStatus(String queryStatus)
The status of the summary metric query result.
|
void |
setStartTimestamp(Date startTimestamp)
The start timestamp for the 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 summary metric query results.
|
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 the summary metric query.
|
SummaryMetricQueryResult |
withError(String error)
The error message for the summary metric query result.
|
SummaryMetricQueryResult |
withMetricName(MetricName metricName)
The name of the summary metric query result.
|
SummaryMetricQueryResult |
withMetricName(String metricName)
The name of the summary metric query result.
|
SummaryMetricQueryResult |
withQueryId(String queryId)
The ID of the summary metric results query operation.
|
SummaryMetricQueryResult |
withQueryStatus(MetricQueryStatus queryStatus)
The status of the summary metric query result.
|
SummaryMetricQueryResult |
withQueryStatus(String queryStatus)
The status of the summary metric query result.
|
SummaryMetricQueryResult |
withStartTimestamp(Date startTimestamp)
The start timestamp for the 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 summary metric query results.
|
SummaryMetricQueryResult |
withValues(MetricQueryValue... values)
The list of aggregated summary metric query results.
|
public void setQueryId(String queryId)
The ID of the summary metric results query operation.
queryId
- The ID of the summary metric results query operation.public String getQueryId()
The ID of the summary metric results query operation.
public SummaryMetricQueryResult withQueryId(String queryId)
The ID of the summary metric results query operation.
queryId
- The ID of the summary metric results query operation.public void setQueryStatus(String queryStatus)
The status of the summary metric query result.
queryStatus
- The status of the summary metric query result.MetricQueryStatus
public String getQueryStatus()
The status of the summary metric query result.
MetricQueryStatus
public SummaryMetricQueryResult withQueryStatus(String queryStatus)
The status of the summary metric query result.
queryStatus
- The status of the summary metric query result.MetricQueryStatus
public SummaryMetricQueryResult withQueryStatus(MetricQueryStatus queryStatus)
The status of the summary metric query result.
queryStatus
- The status of the summary metric query result.MetricQueryStatus
public void setError(String error)
The error message for the summary metric query result.
error
- The error message for the summary metric query result.public String getError()
The error message for the summary metric query result.
public SummaryMetricQueryResult withError(String error)
The error message for the summary metric query result.
error
- The error message for the summary metric query result.public void setMetricName(String metricName)
The name of the summary metric query result.
metricName
- The name of the summary metric query result.MetricName
public String getMetricName()
The name of the summary metric query result.
MetricName
public SummaryMetricQueryResult withMetricName(String metricName)
The name of the summary metric query result.
metricName
- The name of the summary metric query result.MetricName
public SummaryMetricQueryResult withMetricName(MetricName metricName)
The name of the summary metric query result.
metricName
- The name of the summary metric query result.MetricName
public 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.AggregationPeriod
public String getAggregationPeriod()
The aggregation period of the metric.
AggregationPeriod
public SummaryMetricQueryResult withAggregationPeriod(String aggregationPeriod)
The aggregation period of the metric.
aggregationPeriod
- The aggregation period of the metric.AggregationPeriod
public SummaryMetricQueryResult withAggregationPeriod(AggregationPeriod aggregationPeriod)
The aggregation period of the metric.
aggregationPeriod
- The aggregation period of the 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 SummaryMetricQueryResult 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 SummaryMetricQueryResult withEndTimestamp(Date endTimestamp)
The end timestamp for the summary metric query.
endTimestamp
- The end timestamp for the 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 summary metric query results.
public void setValues(Collection<MetricQueryValue> values)
The list of aggregated summary metric query results.
values
- The list of aggregated summary metric query results.public SummaryMetricQueryResult withValues(MetricQueryValue... values)
The list of aggregated summary metric query results.
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 summary metric query results.public SummaryMetricQueryResult withValues(Collection<MetricQueryValue> values)
The list of aggregated summary metric query results.
values
- The list of aggregated summary metric query results.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 Object
Object.toString()
public SummaryMetricQueryResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.