Interface TableCreationParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TableCreationParameters.Builder,TableCreationParameters>,SdkBuilder<TableCreationParameters.Builder,TableCreationParameters>,SdkPojo
- Enclosing class:
- TableCreationParameters
@Mutable @NotThreadSafe 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.BuilderattributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)The attributes of the table created as part of the import operation.TableCreationParameters.BuilderattributeDefinitions(Consumer<AttributeDefinition.Builder>... attributeDefinitions)The attributes of the table created as part of the import operation.TableCreationParameters.BuilderattributeDefinitions(AttributeDefinition... attributeDefinitions)The attributes of the table created as part of the import operation.TableCreationParameters.BuilderbillingMode(String billingMode)The billing mode for provisioning the table created as part of the import operation.TableCreationParameters.BuilderbillingMode(BillingMode billingMode)The billing mode for provisioning the table created as part of the import operation.TableCreationParameters.BuilderglobalSecondaryIndexes(Collection<GlobalSecondaryIndex> globalSecondaryIndexes)The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.TableCreationParameters.BuilderglobalSecondaryIndexes(Consumer<GlobalSecondaryIndex.Builder>... globalSecondaryIndexes)The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.TableCreationParameters.BuilderglobalSecondaryIndexes(GlobalSecondaryIndex... globalSecondaryIndexes)The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.TableCreationParameters.BuilderkeySchema(Collection<KeySchemaElement> keySchema)The primary key and option sort key of the table created as part of the import operation.TableCreationParameters.BuilderkeySchema(Consumer<KeySchemaElement.Builder>... keySchema)The primary key and option sort key of the table created as part of the import operation.TableCreationParameters.BuilderkeySchema(KeySchemaElement... keySchema)The primary key and option sort key of the table created as part of the import operation.default TableCreationParameters.BuilderonDemandThroughput(Consumer<OnDemandThroughput.Builder> onDemandThroughput)Sets the value of the OnDemandThroughput property for this object.TableCreationParameters.BuilderonDemandThroughput(OnDemandThroughput onDemandThroughput)Sets the value of the OnDemandThroughput property for this object.default TableCreationParameters.BuilderprovisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)Sets the value of the ProvisionedThroughput property for this object.TableCreationParameters.BuilderprovisionedThroughput(ProvisionedThroughput provisionedThroughput)Sets the value of the ProvisionedThroughput property for this object.default TableCreationParameters.BuildersseSpecification(Consumer<SSESpecification.Builder> sseSpecification)Sets the value of the SSESpecification property for this object.TableCreationParameters.BuildersseSpecification(SSESpecification sseSpecification)Sets the value of the SSESpecification property for this object.TableCreationParameters.BuildertableName(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAttributeDefinition.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaKeySchemaElement.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaProvisionedThroughput.builder().When the
Consumercompletes,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)
-
onDemandThroughput
TableCreationParameters.Builder onDemandThroughput(OnDemandThroughput onDemandThroughput)
Sets the value of the OnDemandThroughput property for this object.- Parameters:
onDemandThroughput- The new value for the OnDemandThroughput property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDemandThroughput
default TableCreationParameters.Builder onDemandThroughput(Consumer<OnDemandThroughput.Builder> onDemandThroughput)
Sets the value of the OnDemandThroughput property for this object. This is a convenience method that creates an instance of theOnDemandThroughput.Builderavoiding the need to create one manually viaOnDemandThroughput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonDemandThroughput(OnDemandThroughput).- Parameters:
onDemandThroughput- a consumer that will call methods onOnDemandThroughput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
onDemandThroughput(OnDemandThroughput)
-
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.Builderavoiding the need to create one manually viaSSESpecification.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaGlobalSecondaryIndex.builder().When the
Consumercompletes,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)
-
-