@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartQueryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| StartQueryRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| StartQueryRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| Date | getEndTime()
 The timestamp that is the end of the period that you want to retrieve data for with your query. | 
| List<FilterParameter> | getFilterParameters()
 The  FilterParametersfield that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. | 
| String | getLinkedAccountId()
 The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. | 
| String | getMonitorName()
 The name of the monitor to query. | 
| String | getQueryType()
 The type of query to run. | 
| Date | getStartTime()
 The timestamp that is the beginning of the period that you want to retrieve data for with your query. | 
| int | hashCode() | 
| void | setEndTime(Date endTime)
 The timestamp that is the end of the period that you want to retrieve data for with your query. | 
| void | setFilterParameters(Collection<FilterParameter> filterParameters)
 The  FilterParametersfield that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. | 
| void | setLinkedAccountId(String linkedAccountId)
 The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. | 
| void | setMonitorName(String monitorName)
 The name of the monitor to query. | 
| void | setQueryType(String queryType)
 The type of query to run. | 
| void | setStartTime(Date startTime)
 The timestamp that is the beginning of the period that you want to retrieve data for with your query. | 
| String | toString()Returns a string representation of this object. | 
| StartQueryRequest | withEndTime(Date endTime)
 The timestamp that is the end of the period that you want to retrieve data for with your query. | 
| StartQueryRequest | withFilterParameters(Collection<FilterParameter> filterParameters)
 The  FilterParametersfield that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. | 
| StartQueryRequest | withFilterParameters(FilterParameter... filterParameters)
 The  FilterParametersfield that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. | 
| StartQueryRequest | withLinkedAccountId(String linkedAccountId)
 The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. | 
| StartQueryRequest | withMonitorName(String monitorName)
 The name of the monitor to query. | 
| StartQueryRequest | withQueryType(QueryType queryType)
 The type of query to run. | 
| StartQueryRequest | withQueryType(String queryType)
 The type of query to run. | 
| StartQueryRequest | withStartTime(Date startTime)
 The timestamp that is the beginning of the period that you want to retrieve data for with your query. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setMonitorName(String monitorName)
The name of the monitor to query.
monitorName - The name of the monitor to query.public String getMonitorName()
The name of the monitor to query.
public StartQueryRequest withMonitorName(String monitorName)
The name of the monitor to query.
monitorName - The name of the monitor to query.public void setStartTime(Date startTime)
The timestamp that is the beginning of the period that you want to retrieve data for with your query.
startTime - The timestamp that is the beginning of the period that you want to retrieve data for with your query.public Date getStartTime()
The timestamp that is the beginning of the period that you want to retrieve data for with your query.
public StartQueryRequest withStartTime(Date startTime)
The timestamp that is the beginning of the period that you want to retrieve data for with your query.
startTime - The timestamp that is the beginning of the period that you want to retrieve data for with your query.public void setEndTime(Date endTime)
The timestamp that is the end of the period that you want to retrieve data for with your query.
endTime - The timestamp that is the end of the period that you want to retrieve data for with your query.public Date getEndTime()
The timestamp that is the end of the period that you want to retrieve data for with your query.
public StartQueryRequest withEndTime(Date endTime)
The timestamp that is the end of the period that you want to retrieve data for with your query.
endTime - The timestamp that is the end of the period that you want to retrieve data for with your query.public void setQueryType(String queryType)
The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:
 MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip times,
 at 5 minute intervals.
 
 TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to first byte
 (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.
 
 TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and the best
 performing EC2 configuration, at 1 hour intervals.
 
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
queryType - The type of query to run. The following are the three types of queries that you can run using the Internet
        Monitor query interface:
        
        MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip
        times, at 5 minute intervals.
        
        TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to
        first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by
        traffic volume.
        
        TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and
        the best performing EC2 configuration, at 1 hour intervals.
        
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
QueryTypepublic String getQueryType()
The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:
 MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip times,
 at 5 minute intervals.
 
 TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to first byte
 (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.
 
 TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and the best
 performing EC2 configuration, at 1 hour intervals.
 
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
         MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip
         times, at 5 minute intervals.
         
         TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to
         first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by
         traffic volume.
         
         TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and
         the best performing EC2 configuration, at 1 hour intervals.
         
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
QueryTypepublic StartQueryRequest withQueryType(String queryType)
The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:
 MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip times,
 at 5 minute intervals.
 
 TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to first byte
 (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.
 
 TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and the best
 performing EC2 configuration, at 1 hour intervals.
 
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
queryType - The type of query to run. The following are the three types of queries that you can run using the Internet
        Monitor query interface:
        
        MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip
        times, at 5 minute intervals.
        
        TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to
        first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by
        traffic volume.
        
        TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and
        the best performing EC2 configuration, at 1 hour intervals.
        
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
QueryTypepublic StartQueryRequest withQueryType(QueryType queryType)
The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:
 MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip times,
 at 5 minute intervals.
 
 TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to first byte
 (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.
 
 TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and the best
 performing EC2 configuration, at 1 hour intervals.
 
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
queryType - The type of query to run. The following are the three types of queries that you can run using the Internet
        Monitor query interface:
        
        MEASUREMENTS: Provides availability score, performance score, total traffic, and round-trip
        times, at 5 minute intervals.
        
        TOP_LOCATIONS: Provides availability score, performance score, total traffic, and time to
        first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by
        traffic volume.
        
        TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your current configuration, and
        the best performing EC2 configuration, at 1 hour intervals.
        
For lists of the fields returned with each query type and more information about how each type of query is performed, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
QueryTypepublic List<FilterParameter> getFilterParameters()
 The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. The filter parameters that you can specify depend on the query
 type, since each query type returns a different set of Internet Monitor data.
 
For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a
         string the defines how you want a query to be filtered. The filter parameters that you can specify depend
         on the query type, since each query type returns a different set of Internet Monitor data.
         For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
public void setFilterParameters(Collection<FilterParameter> filterParameters)
 The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. The filter parameters that you can specify depend on the query
 type, since each query type returns a different set of Internet Monitor data.
 
For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
filterParameters - The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a
        string the defines how you want a query to be filtered. The filter parameters that you can specify depend
        on the query type, since each query type returns a different set of Internet Monitor data.
        For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
public StartQueryRequest withFilterParameters(FilterParameter... filterParameters)
 The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. The filter parameters that you can specify depend on the query
 type, since each query type returns a different set of Internet Monitor data.
 
For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
 NOTE: This method appends the values to the existing list (if any). Use
 setFilterParameters(java.util.Collection) or withFilterParameters(java.util.Collection) if you
 want to override the existing values.
 
filterParameters - The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a
        string the defines how you want a query to be filtered. The filter parameters that you can specify depend
        on the query type, since each query type returns a different set of Internet Monitor data.
        For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
public StartQueryRequest withFilterParameters(Collection<FilterParameter> filterParameters)
 The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a string
 the defines how you want a query to be filtered. The filter parameters that you can specify depend on the query
 type, since each query type returns a different set of Internet Monitor data.
 
For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
filterParameters - The FilterParameters field that you use with Amazon CloudWatch Internet Monitor queries is a
        string the defines how you want a query to be filtered. The filter parameters that you can specify depend
        on the query type, since each query type returns a different set of Internet Monitor data.
        For more information about specifying filter parameters, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
public void setLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
linkedAccountId - The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet
        Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For
        more information, see Internet
        Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.public String getLinkedAccountId()
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
public StartQueryRequest withLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
linkedAccountId - The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet
        Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For
        more information, see Internet
        Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.public String toString()
toString in class ObjectObject.toString()public StartQueryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()