Interface GetQueryResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQueryResultsResponse.Builder,,GetQueryResultsResponse> IoTSiteWiseResponse.Builder,SdkBuilder<GetQueryResultsResponse.Builder,,GetQueryResultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetQueryResultsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncolumnInfo(Collection<ColumnInformation> columnInfo) A list of column metadata for the query results.columnInfo(Consumer<ColumnInformation.Builder>... columnInfo) A list of column metadata for the query results.columnInfo(ColumnInformation... columnInfo) A list of column metadata for the query results.The token for the next set of results, or null if there are no additional results.rows(Collection<? extends Collection<String>> rows) The result rows.rows(Collection<String>... rows) The result rows.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
columnInfo
A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.
- Parameters:
columnInfo- A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnInfo
A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.
- Parameters:
columnInfo- A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnInfo
A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.
This is a convenience method that creates an instance of theColumnInformation.Builderavoiding the need to create one manually viaColumnInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolumnInfo(List<ColumnInformation>).- Parameters:
columnInfo- a consumer that will call methods onColumnInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rows
The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.
- Parameters:
rows- The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.
- Parameters:
rows- The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results, or null if there are no additional results.
- Parameters:
nextToken- The token for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-