Class CreateTableEnhancedRequest

java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.CreateTableEnhancedRequest

@ThreadSafe public final class CreateTableEnhancedRequest extends Object
Defines parameters used to create a DynamoDb table using the createTable() operation (such as DynamoDbTable.createTable(CreateTableEnhancedRequest) or DynamoDbAsyncTable.createTable(CreateTableEnhancedRequest)).

All parameters are optional.

  • Method Details

    • builder

      public static CreateTableEnhancedRequest.Builder builder()
      Creates a newly initialized builder for a request object.
    • toBuilder

      Returns a builder initialized with all existing values on the request object.
    • provisionedThroughput

      public ProvisionedThroughput provisionedThroughput()
      Returns the provisioned throughput value set on this request object, or null if it has not been set.
    • streamSpecification

      public StreamSpecification streamSpecification()
      Returns the stream specification value set on this request object, or null if it has not been set.
    • localSecondaryIndices

      public Collection<EnhancedLocalSecondaryIndex> localSecondaryIndices()
      Returns the local secondary index set on this request object, or null if it has not been set.
    • globalSecondaryIndices

      public Collection<EnhancedGlobalSecondaryIndex> globalSecondaryIndices()
      Returns the global secondary index set on this request object, or null if it has not been set.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object