Interface ResultSetMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResultSetMetadata.Builder,ResultSetMetadata>,SdkBuilder<ResultSetMetadata.Builder,ResultSetMetadata>,SdkPojo
- Enclosing class:
- ResultSetMetadata
public static interface ResultSetMetadata.Builder extends SdkPojo, CopyableBuilder<ResultSetMetadata.Builder,ResultSetMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultSetMetadata.BuildercolumnCount(Long columnCount)The number of columns in the result set.ResultSetMetadata.BuildercolumnMetadata(Collection<ColumnMetadata> columnMetadata)The metadata of the columns in the result set.ResultSetMetadata.BuildercolumnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)The metadata of the columns in the result set.ResultSetMetadata.BuildercolumnMetadata(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, sdkFields
-
-
-
-
Method Detail
-
columnCount
ResultSetMetadata.Builder columnCount(Long 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
ResultSetMetadata.Builder columnMetadata(Collection<ColumnMetadata> 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
ResultSetMetadata.Builder columnMetadata(ColumnMetadata... 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
ResultSetMetadata.Builder columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)
The metadata of the columns in the result set.
This is a convenience method that creates an instance of theColumnMetadata.Builderavoiding the need to create one manually viaColumnMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#columnMetadata(List.) - 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:
#columnMetadata(java.util.Collection)
-
-