Interface Table.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Table.Builder,
,Table> SdkBuilder<Table.Builder,
,Table> SdkPojo
- Enclosing class:
Table
@Mutable
@NotThreadSafe
public static interface Table.Builder
extends SdkPojo, CopyableBuilder<Table.Builder,Table>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description for the table.The name of the table.tableProperties
(Collection<TablePropertyDescription> tableProperties) The properties for the table.tableProperties
(Consumer<TablePropertyDescription.Builder>... tableProperties) The properties for the table.tableProperties
(TablePropertyDescription... tableProperties) The properties for the table.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
-
description
The description for the table.
- Parameters:
description
- The description for the table.- 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.
-
tableProperties
The properties for the table.
- Parameters:
tableProperties
- The properties for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableProperties
The properties for the table.
- Parameters:
tableProperties
- The properties for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableProperties
The properties for the table.
This is a convenience method that creates an instance of theTablePropertyDescription.Builder
avoiding the need to create one manually viaTablePropertyDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableProperties(List<TablePropertyDescription>)
.- Parameters:
tableProperties
- a consumer that will call methods onTablePropertyDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-