Interface TableCreationParameters.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TableCreationParameters.Builder,TableCreationParameters>
,SdkBuilder<TableCreationParameters.Builder,TableCreationParameters>
,SdkPojo
- Enclosing class:
- TableCreationParameters
public static interface TableCreationParameters.Builder extends SdkPojo, CopyableBuilder<TableCreationParameters.Builder,TableCreationParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TableCreationParameters.Builder
attributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)
The attributes of the table created as part of the import operation.TableCreationParameters.Builder
attributeDefinitions(Consumer<AttributeDefinition.Builder>... attributeDefinitions)
The attributes of the table created as part of the import operation.TableCreationParameters.Builder
attributeDefinitions(AttributeDefinition... attributeDefinitions)
The attributes of the table created as part of the import operation.TableCreationParameters.Builder
billingMode(String billingMode)
The billing mode for provisioning the table created as part of the import operation.TableCreationParameters.Builder
billingMode(BillingMode billingMode)
The billing mode for provisioning the table created as part of the import operation.TableCreationParameters.Builder
globalSecondaryIndexes(Collection<GlobalSecondaryIndex> globalSecondaryIndexes)
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.TableCreationParameters.Builder
globalSecondaryIndexes(Consumer<GlobalSecondaryIndex.Builder>... globalSecondaryIndexes)
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.TableCreationParameters.Builder
globalSecondaryIndexes(GlobalSecondaryIndex... globalSecondaryIndexes)
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.TableCreationParameters.Builder
keySchema(Collection<KeySchemaElement> keySchema)
The primary key and option sort key of the table created as part of the import operation.TableCreationParameters.Builder
keySchema(Consumer<KeySchemaElement.Builder>... keySchema)
The primary key and option sort key of the table created as part of the import operation.TableCreationParameters.Builder
keySchema(KeySchemaElement... keySchema)
The primary key and option sort key of the table created as part of the import operation.default TableCreationParameters.Builder
provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object.TableCreationParameters.Builder
provisionedThroughput(ProvisionedThroughput provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object.default TableCreationParameters.Builder
sseSpecification(Consumer<SSESpecification.Builder> sseSpecification)
Sets the value of the SSESpecification property for this object.TableCreationParameters.Builder
sseSpecification(SSESpecification sseSpecification)
Sets the value of the SSESpecification property for this object.TableCreationParameters.Builder
tableName(String tableName)
The name of the table created as part of the import 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
-
tableName
TableCreationParameters.Builder tableName(String tableName)
The name of the table created as part of the import operation.
- Parameters:
tableName
- The name of the table created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDefinitions
TableCreationParameters.Builder attributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)
The attributes of the table created as part of the import operation.
- Parameters:
attributeDefinitions
- The attributes of the table created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDefinitions
TableCreationParameters.Builder attributeDefinitions(AttributeDefinition... attributeDefinitions)
The attributes of the table created as part of the import operation.
- Parameters:
attributeDefinitions
- The attributes of the table created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDefinitions
TableCreationParameters.Builder attributeDefinitions(Consumer<AttributeDefinition.Builder>... attributeDefinitions)
The attributes of the table created as part of the import operation.
This is a convenience method that creates an instance of theAttributeDefinition.Builder
avoiding the need to create one manually viaAttributeDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#attributeDefinitions(List
.) - Parameters:
attributeDefinitions
- a consumer that will call methods onAttributeDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributeDefinitions(java.util.Collection
)
-
keySchema
TableCreationParameters.Builder keySchema(Collection<KeySchemaElement> keySchema)
The primary key and option sort key of the table created as part of the import operation.
- Parameters:
keySchema
- The primary key and option sort key of the table created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
TableCreationParameters.Builder keySchema(KeySchemaElement... keySchema)
The primary key and option sort key of the table created as part of the import operation.
- Parameters:
keySchema
- The primary key and option sort key of the table created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
TableCreationParameters.Builder keySchema(Consumer<KeySchemaElement.Builder>... keySchema)
The primary key and option sort key of the table created as part of the import operation.
This is a convenience method that creates an instance of theKeySchemaElement.Builder
avoiding the need to create one manually viaKeySchemaElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#keySchema(List
.) - Parameters:
keySchema
- a consumer that will call methods onKeySchemaElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#keySchema(java.util.Collection
)
-
billingMode
TableCreationParameters.Builder billingMode(String billingMode)
The billing mode for provisioning the table created as part of the import operation.
- Parameters:
billingMode
- The billing mode for provisioning the table created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMode
,BillingMode
-
billingMode
TableCreationParameters.Builder billingMode(BillingMode billingMode)
The billing mode for provisioning the table created as part of the import operation.
- Parameters:
billingMode
- The billing mode for provisioning the table created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMode
,BillingMode
-
provisionedThroughput
TableCreationParameters.Builder provisionedThroughput(ProvisionedThroughput provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object.- Parameters:
provisionedThroughput
- The new value for the ProvisionedThroughput property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
default TableCreationParameters.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
Sets the value of the ProvisionedThroughput property for this object. This is a convenience method that creates an instance of theProvisionedThroughput.Builder
avoiding the need to create one manually viaProvisionedThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughput(ProvisionedThroughput)
.- Parameters:
provisionedThroughput
- a consumer that will call methods onProvisionedThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provisionedThroughput(ProvisionedThroughput)
-
sseSpecification
TableCreationParameters.Builder sseSpecification(SSESpecification sseSpecification)
Sets the value of the SSESpecification property for this object.- Parameters:
sseSpecification
- The new value for the SSESpecification property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseSpecification
default TableCreationParameters.Builder sseSpecification(Consumer<SSESpecification.Builder> sseSpecification)
Sets the value of the SSESpecification property for this object. This is a convenience method that creates an instance of theSSESpecification.Builder
avoiding the need to create one manually viaSSESpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosseSpecification(SSESpecification)
.- Parameters:
sseSpecification
- a consumer that will call methods onSSESpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sseSpecification(SSESpecification)
-
globalSecondaryIndexes
TableCreationParameters.Builder globalSecondaryIndexes(Collection<GlobalSecondaryIndex> globalSecondaryIndexes)
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
- Parameters:
globalSecondaryIndexes
- The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
TableCreationParameters.Builder globalSecondaryIndexes(GlobalSecondaryIndex... globalSecondaryIndexes)
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
- Parameters:
globalSecondaryIndexes
- The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
TableCreationParameters.Builder globalSecondaryIndexes(Consumer<GlobalSecondaryIndex.Builder>... globalSecondaryIndexes)
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
This is a convenience method that creates an instance of theGlobalSecondaryIndex.Builder
avoiding the need to create one manually viaGlobalSecondaryIndex.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#globalSecondaryIndexes(List
.) - Parameters:
globalSecondaryIndexes
- a consumer that will call methods onGlobalSecondaryIndex.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#globalSecondaryIndexes(java.util.Collection
)
-
-