Interface BatchGetTableOptimizerError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchGetTableOptimizerError.Builder,BatchGetTableOptimizerError>,SdkBuilder<BatchGetTableOptimizerError.Builder,BatchGetTableOptimizerError>,SdkPojo
- Enclosing class:
- BatchGetTableOptimizerError
public static interface BatchGetTableOptimizerError.Builder extends SdkPojo, CopyableBuilder<BatchGetTableOptimizerError.Builder,BatchGetTableOptimizerError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchGetTableOptimizerError.BuildercatalogId(String catalogId)The Catalog ID of the table.BatchGetTableOptimizerError.BuilderdatabaseName(String databaseName)The name of the database in the catalog in which the table resides.default BatchGetTableOptimizerError.Buildererror(Consumer<ErrorDetail.Builder> error)AnErrorDetailobject containing code and message details about the error.BatchGetTableOptimizerError.Buildererror(ErrorDetail error)AnErrorDetailobject containing code and message details about the error.BatchGetTableOptimizerError.BuildertableName(String tableName)The name of the table.BatchGetTableOptimizerError.Buildertype(String type)The type of table optimizer.BatchGetTableOptimizerError.Buildertype(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 Detail
-
error
BatchGetTableOptimizerError.Builder error(ErrorDetail error)
An
ErrorDetailobject containing code and message details about the error.- Parameters:
error- AnErrorDetailobject containing code and message details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default BatchGetTableOptimizerError.Builder error(Consumer<ErrorDetail.Builder> error)
An
This is a convenience method that creates an instance of theErrorDetailobject containing code and message details about the error.ErrorDetail.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:
error(ErrorDetail)
-
catalogId
BatchGetTableOptimizerError.Builder catalogId(String 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
BatchGetTableOptimizerError.Builder databaseName(String 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
BatchGetTableOptimizerError.Builder tableName(String 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
BatchGetTableOptimizerError.Builder type(String 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:
TableOptimizerType,TableOptimizerType
-
type
BatchGetTableOptimizerError.Builder type(TableOptimizerType 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:
TableOptimizerType,TableOptimizerType
-
-