Class DDBCreateTableOpDispenser

All Implemented Interfaces:
OpDispenser<DynamoDBOp>, OpResultTracker, NBComponent, NBComponentAdvisors, NBComponentEvents, NBComponentMetrics, NBComponentProps, NBComponentServices, NBComponentTimeline, NBProviderSearch, NBTokenWords, NBLabeledElement, AutoCloseable, LongFunction<DynamoDBOp>

public class DDBCreateTableOpDispenser extends BaseOpDispenser<DynamoDBOp,DynamoDBSpace>

 Request Syntax
 {
    "AttributeDefinitions": [
       {
          "AttributeName": "string",
          "AttributeType": "string"
       }
    ],
    "BillingMode": "string",
    "GlobalSecondaryIndexes": [
       {
          "IndexName": "string",
          "KeySchema": [
             {
                "AttributeName": "string",
                "KeyType": "string"
             }
          ],
          "Projection": {
             "NonKeyAttributes": [ "string" ],
             "ProjectionType": "string"
          },
          "ProvisionedThroughput": {
             "ReadCapacityUnits": number,
             "WriteCapacityUnits": number
          }
       }
    ],
    "KeySchema": [
       {
          "AttributeName": "string",
          "KeyType": "string"
       }
    ],
    "LocalSecondaryIndexes": [
       {
          "IndexName": "string",
          "KeySchema": [
             {
                "AttributeName": "string",
                "KeyType": "string"
             }
          ],
          "Projection": {
             "NonKeyAttributes": [ "string" ],
             "ProjectionType": "string"
          }
       }
    ],
    "ProvisionedThroughput": {
       "ReadCapacityUnits": number,
       "WriteCapacityUnits": number
    },
    "SSESpecification": {
       "Enabled": boolean,
       "KMSMasterKeyId": "string",
       "SSEType": "string"
    },
    "StreamSpecification": {
       "StreamEnabled": boolean,
       "StreamViewType": "string"
    },
    "TableClass": "string",
    "TableName": "string",
    "Tags": [
       {
          "Key": "string",
          "Value": "string"
       }
    ]
 }
 
  • Constructor Details

    • DDBCreateTableOpDispenser

      public DDBCreateTableOpDispenser(DriverAdapter adapter, com.amazonaws.services.dynamodbv2.document.DynamoDB ddb, ParsedOp cmd, LongFunction<?> targetFunc)
  • Method Details

    • getOp

      public DDBCreateTableOp getOp(long cycle)
      Description copied from interface: OpDispenser
      This method should do all the work of creating an operation that is executable by some other caller. The value produced by the apply method should not require additional processing if a caller wants to execute the operation multiple times, as for retries.
      Parameters:
      cycle - The cycle number which serves as the seed for any generated op fields to be bound into an operation.
      Returns:
      an executable operation