Interface ExecuteQueryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ExecuteQueryResponse.Builder,ExecuteQueryResponse>,IoTSiteWiseResponse.Builder,SdkBuilder<ExecuteQueryResponse.Builder,ExecuteQueryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ExecuteQueryResponse
public static interface ExecuteQueryResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<ExecuteQueryResponse.Builder,ExecuteQueryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecuteQueryResponse.Buildercolumns(Collection<ColumnInfo> columns)Represents a single column in the query results.ExecuteQueryResponse.Buildercolumns(Consumer<ColumnInfo.Builder>... columns)Represents a single column in the query results.ExecuteQueryResponse.Buildercolumns(ColumnInfo... columns)Represents a single column in the query results.ExecuteQueryResponse.BuildernextToken(String nextToken)The string that specifies the next page of results.ExecuteQueryResponse.Builderrows(Collection<Row> rows)Represents a single row in the query results.ExecuteQueryResponse.Builderrows(Consumer<Row.Builder>... rows)Represents a single row in the query results.ExecuteQueryResponse.Builderrows(Row... rows)Represents a single row in the query results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.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 Detail
-
columns
ExecuteQueryResponse.Builder columns(Collection<ColumnInfo> columns)
Represents a single column in the query results.
- Parameters:
columns- Represents a single column in the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
ExecuteQueryResponse.Builder columns(ColumnInfo... columns)
Represents a single column in the query results.
- Parameters:
columns- Represents a single column in the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
ExecuteQueryResponse.Builder columns(Consumer<ColumnInfo.Builder>... columns)
Represents a single column in the query results.
This is a convenience method that creates an instance of theColumnInfo.Builderavoiding the need to create one manually viaColumnInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#columns(List.) - Parameters:
columns- a consumer that will call methods onColumnInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#columns(java.util.Collection)
-
rows
ExecuteQueryResponse.Builder rows(Collection<Row> rows)
Represents a single row in the query results.
- Parameters:
rows- Represents a single row in the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
ExecuteQueryResponse.Builder rows(Row... rows)
Represents a single row in the query results.
- Parameters:
rows- Represents a single row in the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
ExecuteQueryResponse.Builder rows(Consumer<Row.Builder>... rows)
Represents a single row in the query results.
This is a convenience method that creates an instance of theRow.Builderavoiding the need to create one manually viaRow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rows(List.)
- Parameters:
rows- a consumer that will call methods onRow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rows(java.util.Collection)
-
nextToken
ExecuteQueryResponse.Builder nextToken(String nextToken)
The string that specifies the next page of results.
- Parameters:
nextToken- The string that specifies the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-