@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetQueryResultsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetQueryResultsResult() |
Modifier and Type | Method and Description |
---|---|
GetQueryResultsResult |
clone() |
boolean |
equals(Object obj) |
List<List<String>> |
getData()
The data results that the query returns.
|
List<QueryField> |
getFields()
The fields that the query returns data for.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setData(Collection<List<String>> data)
The data results that the query returns.
|
void |
setFields(Collection<QueryField> fields)
The fields that the query returns data for.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
GetQueryResultsResult |
withData(Collection<List<String>> data)
The data results that the query returns.
|
GetQueryResultsResult |
withData(List<String>... data)
The data results that the query returns.
|
GetQueryResultsResult |
withFields(Collection<QueryField> fields)
The fields that the query returns data for.
|
GetQueryResultsResult |
withFields(QueryField... fields)
The fields that the query returns data for.
|
GetQueryResultsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<QueryField> getFields()
The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.
availability_score
-float
.public void setFields(Collection<QueryField> fields)
The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.
fields
- The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.public GetQueryResultsResult withFields(QueryField... fields)
The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
or withFields(java.util.Collection)
if you want to override the
existing values.
fields
- The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.public GetQueryResultsResult withFields(Collection<QueryField> fields)
The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.
fields
- The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.public List<List<String>> getData()
The data results that the query returns. Data is returned in arrays, aligned with the Fields
for the
query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then,
you can filter the information in the repository by using FilterParameters
that you define.
Fields
for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your
application. Then, you can filter the information in the repository by using
FilterParameters
that you define.public void setData(Collection<List<String>> data)
The data results that the query returns. Data is returned in arrays, aligned with the Fields
for the
query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then,
you can filter the information in the repository by using FilterParameters
that you define.
data
- The data results that the query returns. Data is returned in arrays, aligned with the Fields
for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your
application. Then, you can filter the information in the repository by using FilterParameters
that you define.public GetQueryResultsResult withData(List<String>... data)
The data results that the query returns. Data is returned in arrays, aligned with the Fields
for the
query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then,
you can filter the information in the repository by using FilterParameters
that you define.
NOTE: This method appends the values to the existing list (if any). Use
setData(java.util.Collection)
or withData(java.util.Collection)
if you want to override the
existing values.
data
- The data results that the query returns. Data is returned in arrays, aligned with the Fields
for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your
application. Then, you can filter the information in the repository by using FilterParameters
that you define.public GetQueryResultsResult withData(Collection<List<String>> data)
The data results that the query returns. Data is returned in arrays, aligned with the Fields
for the
query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then,
you can filter the information in the repository by using FilterParameters
that you define.
data
- The data results that the query returns. Data is returned in arrays, aligned with the Fields
for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your
application. Then, you can filter the information in the repository by using FilterParameters
that you define.public void setNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public String getNextToken()
The token for the next set of results. You receive this token from a previous call.
public GetQueryResultsResult withNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public String toString()
toString
in class Object
Object.toString()
public GetQueryResultsResult clone()