public class CreateTable<T> extends Object implements TableOperation<T,CreateTableRequest,CreateTableResponse,Void>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CreateTable.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static CreateTable.Builder | 
builder()  | 
static <T> CreateTable<T> | 
create()  | 
boolean | 
equals(Object o)  | 
CreateTableRequest | 
generateRequest(TableSchema<T> tableSchema,
               OperationContext operationContext,
               MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level  
DynamoDbClient. | 
Collection<GlobalSecondaryIndex> | 
globalSecondaryIndices()  | 
int | 
hashCode()  | 
Collection<LocalSecondaryIndex> | 
localSecondaryIndices()  | 
static <T> CreateTable<T> | 
of(ProvisionedThroughput provisionedThroughput)  | 
ProvisionedThroughput | 
provisionedThroughput()  | 
Function<CreateTableRequest,CreateTableResponse> | 
serviceCall(DynamoDbClient dynamoDbClient)
Provides a function for making the low level SDK call to DynamoDb. 
 | 
CreateTable.Builder | 
toBuilder()  | 
Void | 
transformResponse(CreateTableResponse response,
                 TableSchema<T> tableSchema,
                 OperationContext operationContext,
                 MapperExtension mapperExtension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted
 result object. 
 | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitexecuteOnPrimaryIndexexecutepublic static <T> CreateTable<T> of(ProvisionedThroughput provisionedThroughput)
public static <T> CreateTable<T> create()
public static CreateTable.Builder builder()
public CreateTable.Builder toBuilder()
public CreateTableRequest generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, MapperExtension mapperExtension)
CommonOperationDynamoDbClient.generateRequest in interface CommonOperation<T,CreateTableRequest,CreateTableResponse,Void>tableSchema - A TableSchema that maps the table to a modelled object.operationContext - An object containing the context, or target, of the command execution.mapperExtension - A MapperExtension that may modify the request of this operation. A null value
                        here will result in no modifications.DynamoDbClient call to perform the operation.public Function<CreateTableRequest,CreateTableResponse> serviceCall(DynamoDbClient dynamoDbClient)
CommonOperationserviceCall in interface CommonOperation<T,CreateTableRequest,CreateTableResponse,Void>dynamoDbClient - A low level DynamoDbClient to make the call against.public Void transformResponse(CreateTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, MapperExtension mapperExtension)
CommonOperationtransformResponse in interface CommonOperation<T,CreateTableRequest,CreateTableResponse,Void>response - The response object returned by the DynamoDb call for this operation.tableSchema - A TableSchema that maps the table to a modelled object.operationContext - An object containing the context, or target, of the command execution.mapperExtension - A MapperExtension that may modify the result of this operation. A null value
                        here will result in no modifications.public ProvisionedThroughput provisionedThroughput()
public Collection<LocalSecondaryIndex> localSecondaryIndices()
public Collection<GlobalSecondaryIndex> globalSecondaryIndices()
Copyright © 2019. All rights reserved.