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
copyMethods inherited from interface software.amazon.awssdk.services.internetmonitor.model.InternetMonitorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaQueryField.builder().When the
Consumercompletes,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
Fieldsfor 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 usingFilterParametersthat you define.- Parameters:
data- The data results that the query returns. Data is returned in arrays, aligned with theFieldsfor 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 usingFilterParametersthat 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
Fieldsfor 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 usingFilterParametersthat you define.- Parameters:
data- The data results that the query returns. Data is returned in arrays, aligned with theFieldsfor 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 usingFilterParametersthat 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.
-