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 asDynamoDbTable.createTable(CreateTableEnhancedRequest)orDynamoDbAsyncTable.createTable(CreateTableEnhancedRequest)).All parameters are optional.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateTableEnhancedRequest.BuilderA builder that is used to create a request with the desired parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateTableEnhancedRequest.Builderbuilder()Creates a newly initialized builder for a request object.booleanequals(Object o)Collection<EnhancedGlobalSecondaryIndex>globalSecondaryIndices()Returns the global secondary index set on this request object, or null if it has not been set.inthashCode()Collection<EnhancedLocalSecondaryIndex>localSecondaryIndices()Returns the local secondary index set on this request object, or null if it has not been set.ProvisionedThroughputprovisionedThroughput()Returns the provisioned throughput value set on this request object, or null if it has not been set.StreamSpecificationstreamSpecification()Returns the stream specification value set on this request object, or null if it has not been set.CreateTableEnhancedRequest.BuildertoBuilder()Returns a builder initialized with all existing values on the request object.
-
-
-
Method Detail
-
builder
public static CreateTableEnhancedRequest.Builder builder()
Creates a newly initialized builder for a request object.
-
toBuilder
public CreateTableEnhancedRequest.Builder 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.
-
-