Interface ColumnStatisticsError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnStatisticsError.Builder,,ColumnStatisticsError> SdkBuilder<ColumnStatisticsError.Builder,,ColumnStatisticsError> SdkPojo
- Enclosing class:
ColumnStatisticsError
public static interface ColumnStatisticsError.Builder
extends SdkPojo, CopyableBuilder<ColumnStatisticsError.Builder,ColumnStatisticsError>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ColumnStatisticsError.BuildercolumnStatistics(Consumer<ColumnStatistics.Builder> columnStatistics) TheColumnStatisticsof the column.columnStatistics(ColumnStatistics columnStatistics) TheColumnStatisticsof the column.default ColumnStatisticsError.Buildererror(Consumer<ErrorDetail.Builder> error) An error message with the reason for the failure of an operation.error(ErrorDetail error) An error message with the reason for the failure of an operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
columnStatistics
The
ColumnStatisticsof the column.- Parameters:
columnStatistics- TheColumnStatisticsof the column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnStatistics
default ColumnStatisticsError.Builder columnStatistics(Consumer<ColumnStatistics.Builder> columnStatistics) The
This is a convenience method that creates an instance of theColumnStatisticsof the column.ColumnStatistics.Builderavoiding the need to create one manually viaColumnStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolumnStatistics(ColumnStatistics).- Parameters:
columnStatistics- a consumer that will call methods onColumnStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
An error message with the reason for the failure of an operation.
- Parameters:
error- An error message with the reason for the failure of an operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error message with the reason for the failure of an operation.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetail).- Parameters:
error- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-