Interface ResultSetMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResultSetMetadata.Builder,
,ResultSetMetadata> SdkBuilder<ResultSetMetadata.Builder,
,ResultSetMetadata> SdkPojo
- Enclosing class:
ResultSetMetadata
@Mutable
@NotThreadSafe
public static interface ResultSetMetadata.Builder
extends SdkPojo, CopyableBuilder<ResultSetMetadata.Builder,ResultSetMetadata>
-
Method Summary
Modifier and TypeMethodDescriptioncolumnCount
(Long columnCount) The number of columns in the result set.columnMetadata
(Collection<ColumnMetadata> columnMetadata) The metadata of the columns in the result set.columnMetadata
(Consumer<ColumnMetadata.Builder>... columnMetadata) The metadata of the columns in the result set.columnMetadata
(ColumnMetadata... columnMetadata) The metadata of the columns in the result set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
columnCount
The number of columns in the result set.
- Parameters:
columnCount
- The number of columns in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnMetadata
The metadata of the columns in the result set.
- Parameters:
columnMetadata
- The metadata of the columns in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnMetadata
The metadata of the columns in the result set.
- Parameters:
columnMetadata
- The metadata of the columns in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnMetadata
The metadata of the columns in the result set.
This is a convenience method that creates an instance of theColumnMetadata.Builder
avoiding the need to create one manually viaColumnMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumnMetadata(List<ColumnMetadata>)
.- Parameters:
columnMetadata
- a consumer that will call methods onColumnMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-