Interface TableCreationParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TableCreationParameters.Builder,
,TableCreationParameters> SdkBuilder<TableCreationParameters.Builder,
,TableCreationParameters> SdkPojo
- Enclosing class:
TableCreationParameters
-
Method Summary
Modifier and TypeMethodDescriptionattributeDefinitions
(Collection<AttributeDefinition> attributeDefinitions) The attributes of the table created as part of the import operation.attributeDefinitions
(Consumer<AttributeDefinition.Builder>... attributeDefinitions) The attributes of the table created as part of the import operation.attributeDefinitions
(AttributeDefinition... attributeDefinitions) The attributes of the table created as part of the import operation.billingMode
(String billingMode) The billing mode for provisioning the table created as part of the import operation.billingMode
(BillingMode billingMode) The billing mode for provisioning the table created as part of the import operation.globalSecondaryIndexes
(Collection<GlobalSecondaryIndex> globalSecondaryIndexes) The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.globalSecondaryIndexes
(Consumer<GlobalSecondaryIndex.Builder>... globalSecondaryIndexes) The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.globalSecondaryIndexes
(GlobalSecondaryIndex... globalSecondaryIndexes) The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.keySchema
(Collection<KeySchemaElement> keySchema) The primary key and option sort key of the table created as part of the import operation.keySchema
(Consumer<KeySchemaElement.Builder>... keySchema) The primary key and option sort key of the table created as part of the import operation.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.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.sseSpecification
(SSESpecification sseSpecification) Sets the value of the SSESpecification property for this object.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 Details
-
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
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 toattributeDefinitions(List<AttributeDefinition>)
.- 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:
-
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
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
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 tokeySchema(List<KeySchemaElement>)
.- 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:
-
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
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:
-
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:
-
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:
-
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 toglobalSecondaryIndexes(List<GlobalSecondaryIndex>)
.- 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:
-