Interface BatchGetTableOptimizerError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchGetTableOptimizerError.Builder,
,BatchGetTableOptimizerError> SdkBuilder<BatchGetTableOptimizerError.Builder,
,BatchGetTableOptimizerError> SdkPojo
- Enclosing class:
BatchGetTableOptimizerError
@Mutable
@NotThreadSafe
public static interface BatchGetTableOptimizerError.Builder
extends SdkPojo, CopyableBuilder<BatchGetTableOptimizerError.Builder,BatchGetTableOptimizerError>
-
Method Summary
Modifier and TypeMethodDescriptionThe Catalog ID of the table.databaseName
(String databaseName) The name of the database in the catalog in which the table resides.error
(Consumer<ErrorDetail.Builder> error) AnErrorDetail
object containing code and message details about the error.error
(ErrorDetail error) AnErrorDetail
object containing code and message details about the error.The name of the table.The type of table optimizer.type
(TableOptimizerType type) The type of table optimizer.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
-
error
An
ErrorDetail
object containing code and message details about the error.- Parameters:
error
- AnErrorDetail
object containing code and message details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An
This is a convenience method that creates an instance of theErrorDetail
object containing code and message details about the error.ErrorDetail.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:
-
catalogId
The Catalog ID of the table.
- Parameters:
catalogId
- The Catalog ID of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the database in the catalog in which the table resides.
- Parameters:
databaseName
- The name of the database in the catalog in which the table resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table.
- Parameters:
tableName
- The name of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of table optimizer.
- Parameters:
type
- The type of table optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of table optimizer.
- Parameters:
type
- The type of table optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-