Interface GetQueryResultsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQueryResultsResponse.Builder,GetQueryResultsResponse>,InternetMonitorResponse.Builder,SdkBuilder<GetQueryResultsResponse.Builder,GetQueryResultsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetQueryResultsResponse
public static interface GetQueryResultsResponse.Builder extends InternetMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetQueryResultsResponse.Builder,GetQueryResultsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetQueryResultsResponse.Builderdata(Collection<? extends Collection<String>> data)The data results that the query returns.GetQueryResultsResponse.Builderdata(Collection<String>... data)The data results that the query returns.GetQueryResultsResponse.Builderfields(Collection<QueryField> fields)The fields that the query returns data for.GetQueryResultsResponse.Builderfields(Consumer<QueryField.Builder>... fields)The fields that the query returns data for.GetQueryResultsResponse.Builderfields(QueryField... fields)The fields that the query returns data for.GetQueryResultsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fields
GetQueryResultsResponse.Builder fields(Collection<QueryField> 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
GetQueryResultsResponse.Builder fields(QueryField... 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
GetQueryResultsResponse.Builder fields(Consumer<QueryField.Builder>... 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 to#fields(List.) - 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:
#fields(java.util.Collection)
-
data
GetQueryResultsResponse.Builder data(Collection<? extends Collection<String>> 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
GetQueryResultsResponse.Builder data(Collection<String>... 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
GetQueryResultsResponse.Builder nextToken(String 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.
-
-