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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ColumnStatisticsError.Builder
columnStatistics(Consumer<ColumnStatistics.Builder> columnStatistics)
TheColumnStatistics
of the column.ColumnStatisticsError.Builder
columnStatistics(ColumnStatistics columnStatistics)
TheColumnStatistics
of the column.default ColumnStatisticsError.Builder
error(Consumer<ErrorDetail.Builder> error)
An error message with the reason for the failure of an operation.ColumnStatisticsError.Builder
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
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
-
columnStatistics
ColumnStatisticsError.Builder columnStatistics(ColumnStatistics columnStatistics)
The
ColumnStatistics
of the column.- Parameters:
columnStatistics
- TheColumnStatistics
of 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 theColumnStatistics
of the column.ColumnStatistics.Builder
avoiding the need to create one manually viaColumnStatistics.builder()
.When the
Consumer
completes,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:
columnStatistics(ColumnStatistics)
-
error
ColumnStatisticsError.Builder error(ErrorDetail 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
default ColumnStatisticsError.Builder error(Consumer<ErrorDetail.Builder> error)
An error message with the reason for the failure of an operation.
This is a convenience method that creates an instance of theErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,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:
error(ErrorDetail)
-
-