@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataQuery extends Object implements Serializable, Cloneable
A query used for retrieving network health data.
| Constructor and Description | 
|---|
| DataQuery() | 
| Modifier and Type | Method and Description | 
|---|---|
| DataQuery | clone() | 
| boolean | equals(Object obj) | 
| String | getDestination()
 The Region or Availability Zone that's the target for the data query. | 
| String | getId()
 A user-defined ID associated with a data query that's returned in the  dataResponseidentifying the
 query. | 
| String | getMetric()
 The metric,  aggregation-latency, indicating that network latency is aggregated for the query. | 
| String | getPeriod()
 The aggregation period used for the data query. | 
| String | getSource()
 The Region or Availability Zone that's the source for the data query. | 
| String | getStatistic()
 The metric data aggregation period,  p50, between the specifiedstartDateandendDate. | 
| int | hashCode() | 
| void | setDestination(String destination)
 The Region or Availability Zone that's the target for the data query. | 
| void | setId(String id)
 A user-defined ID associated with a data query that's returned in the  dataResponseidentifying the
 query. | 
| void | setMetric(String metric)
 The metric,  aggregation-latency, indicating that network latency is aggregated for the query. | 
| void | setPeriod(String period)
 The aggregation period used for the data query. | 
| void | setSource(String source)
 The Region or Availability Zone that's the source for the data query. | 
| void | setStatistic(String statistic)
 The metric data aggregation period,  p50, between the specifiedstartDateandendDate. | 
| String | toString()Returns a string representation of this object. | 
| DataQuery | withDestination(String destination)
 The Region or Availability Zone that's the target for the data query. | 
| DataQuery | withId(String id)
 A user-defined ID associated with a data query that's returned in the  dataResponseidentifying the
 query. | 
| DataQuery | withMetric(MetricType metric)
 The metric,  aggregation-latency, indicating that network latency is aggregated for the query. | 
| DataQuery | withMetric(String metric)
 The metric,  aggregation-latency, indicating that network latency is aggregated for the query. | 
| DataQuery | withPeriod(PeriodType period)
 The aggregation period used for the data query. | 
| DataQuery | withPeriod(String period)
 The aggregation period used for the data query. | 
| DataQuery | withSource(String source)
 The Region or Availability Zone that's the source for the data query. | 
| DataQuery | withStatistic(StatisticType statistic)
 The metric data aggregation period,  p50, between the specifiedstartDateandendDate. | 
| DataQuery | withStatistic(String statistic)
 The metric data aggregation period,  p50, between the specifiedstartDateandendDate. | 
public void setId(String id)
 A user-defined ID associated with a data query that's returned in the dataResponse identifying the
 query. For example, if you set the Id to MyQuery01in the query, the dataResponse
 identifies the query as MyQuery01.
 
id - A user-defined ID associated with a data query that's returned in the dataResponse
        identifying the query. For example, if you set the Id to MyQuery01in the query, the
        dataResponse identifies the query as MyQuery01.public String getId()
 A user-defined ID associated with a data query that's returned in the dataResponse identifying the
 query. For example, if you set the Id to MyQuery01in the query, the dataResponse
 identifies the query as MyQuery01.
 
dataResponse
         identifying the query. For example, if you set the Id to MyQuery01in the query, the
         dataResponse identifies the query as MyQuery01.public DataQuery withId(String id)
 A user-defined ID associated with a data query that's returned in the dataResponse identifying the
 query. For example, if you set the Id to MyQuery01in the query, the dataResponse
 identifies the query as MyQuery01.
 
id - A user-defined ID associated with a data query that's returned in the dataResponse
        identifying the query. For example, if you set the Id to MyQuery01in the query, the
        dataResponse identifies the query as MyQuery01.public void setSource(String source)
 The Region or Availability Zone that's the source for the data query. For example, us-east-1.
 
source - The Region or Availability Zone that's the source for the data query. For example, us-east-1.public String getSource()
 The Region or Availability Zone that's the source for the data query. For example, us-east-1.
 
us-east-1
         .public DataQuery withSource(String source)
 The Region or Availability Zone that's the source for the data query. For example, us-east-1.
 
source - The Region or Availability Zone that's the source for the data query. For example, us-east-1.public void setDestination(String destination)
 The Region or Availability Zone that's the target for the data query. For example, eu-north-1.
 
destination - The Region or Availability Zone that's the target for the data query. For example, eu-north-1
        .public String getDestination()
 The Region or Availability Zone that's the target for the data query. For example, eu-north-1.
 
eu-north-1.public DataQuery withDestination(String destination)
 The Region or Availability Zone that's the target for the data query. For example, eu-north-1.
 
destination - The Region or Availability Zone that's the target for the data query. For example, eu-north-1
        .public void setMetric(String metric)
 The metric, aggregation-latency, indicating that network latency is aggregated for the query. This
 is the only supported metric.
 
metric - The metric, aggregation-latency, indicating that network latency is aggregated for the query.
        This is the only supported metric.MetricTypepublic String getMetric()
 The metric, aggregation-latency, indicating that network latency is aggregated for the query. This
 is the only supported metric.
 
aggregation-latency, indicating that network latency is aggregated for the
         query. This is the only supported metric.MetricTypepublic DataQuery withMetric(String metric)
 The metric, aggregation-latency, indicating that network latency is aggregated for the query. This
 is the only supported metric.
 
metric - The metric, aggregation-latency, indicating that network latency is aggregated for the query.
        This is the only supported metric.MetricTypepublic DataQuery withMetric(MetricType metric)
 The metric, aggregation-latency, indicating that network latency is aggregated for the query. This
 is the only supported metric.
 
metric - The metric, aggregation-latency, indicating that network latency is aggregated for the query.
        This is the only supported metric.MetricTypepublic void setStatistic(String statistic)
 The metric data aggregation period, p50, between the specified startDate and
 endDate. For example, a metric of five_minutes is the median of all the data points
 gathered within those five minutes. p50 is the only supported metric.
 
statistic - The metric data aggregation period, p50, between the specified startDate and
        endDate. For example, a metric of five_minutes is the median of all the data
        points gathered within those five minutes. p50 is the only supported metric.StatisticTypepublic String getStatistic()
 The metric data aggregation period, p50, between the specified startDate and
 endDate. For example, a metric of five_minutes is the median of all the data points
 gathered within those five minutes. p50 is the only supported metric.
 
p50, between the specified startDate and
         endDate. For example, a metric of five_minutes is the median of all the data
         points gathered within those five minutes. p50 is the only supported metric.StatisticTypepublic DataQuery withStatistic(String statistic)
 The metric data aggregation period, p50, between the specified startDate and
 endDate. For example, a metric of five_minutes is the median of all the data points
 gathered within those five minutes. p50 is the only supported metric.
 
statistic - The metric data aggregation period, p50, between the specified startDate and
        endDate. For example, a metric of five_minutes is the median of all the data
        points gathered within those five minutes. p50 is the only supported metric.StatisticTypepublic DataQuery withStatistic(StatisticType statistic)
 The metric data aggregation period, p50, between the specified startDate and
 endDate. For example, a metric of five_minutes is the median of all the data points
 gathered within those five minutes. p50 is the only supported metric.
 
statistic - The metric data aggregation period, p50, between the specified startDate and
        endDate. For example, a metric of five_minutes is the median of all the data
        points gathered within those five minutes. p50 is the only supported metric.StatisticTypepublic void setPeriod(String period)
The aggregation period used for the data query.
period - The aggregation period used for the data query.PeriodTypepublic String getPeriod()
The aggregation period used for the data query.
PeriodTypepublic DataQuery withPeriod(String period)
The aggregation period used for the data query.
period - The aggregation period used for the data query.PeriodTypepublic DataQuery withPeriod(PeriodType period)
The aggregation period used for the data query.
period - The aggregation period used for the data query.PeriodTypepublic String toString()
toString in class ObjectObject.toString()