Interface GetQueryResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetQueryResultsResponse.Builder,
,GetQueryResultsResponse> InternetMonitorResponse.Builder
,SdkBuilder<GetQueryResultsResponse.Builder,
,GetQueryResultsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetQueryResultsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondata
(Collection<? extends Collection<String>> data) The data results that the query returns.data
(Collection<String>... data) The data results that the query returns.fields
(Collection<QueryField> fields) The fields that the query returns data for.fields
(Consumer<QueryField.Builder>... fields) The fields that the query returns data for.fields
(QueryField... fields) The fields that the query returns data for.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.internetmonitor.model.InternetMonitorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fields
The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.- Parameters:
fields
- The fields that the query returns data for. Fields are name-data type pairs, such asavailability_score
-float
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The fields that the query returns data for. Fields are name-data type pairs, such as
availability_score
-float
.- Parameters:
fields
- The fields that the query returns data for. Fields are name-data type pairs, such asavailability_score
-float
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The fields that the query returns data for. Fields are name-data type pairs, such as
This is a convenience method that creates an instance of theavailability_score
-float
.QueryField.Builder
avoiding the need to create one manually viaQueryField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<QueryField>)
.- Parameters:
fields
- a consumer that will call methods onQueryField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 usingFilterParameters
that you define.- Parameters:
data
- The data results that the query returns. Data is returned in arrays, aligned with theFields
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 usingFilterParameters
that you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 usingFilterParameters
that you define.- Parameters:
data
- The data results that the query returns. Data is returned in arrays, aligned with theFields
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 usingFilterParameters
that you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken
- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-