Interface SchemaOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
GlobalSecondaryIndexProps
,GlobalTableProps
,TableOptions
,TableProps
- All Known Implementing Classes:
GlobalSecondaryIndexProps.Jsii$Proxy
,GlobalTableProps.Jsii$Proxy
,SchemaOptions.Jsii$Proxy
,TableOptions.Jsii$Proxy
,TableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.287Z")
@Stability(Stable)
public interface SchemaOptions
extends software.amazon.jsii.JsiiSerializable
Represents the table schema attributes.
Example:
Table table; SchemaOptions schema = table.schema(); Attribute partitionKey = schema.getPartitionKey(); Attribute sortKey = schema.getSortKey();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSchemaOptions
static final class
An implementation forSchemaOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaOptions.Builder
builder()
Partition key attribute definition.default Attribute
Sort key attribute definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPartitionKey
Partition key attribute definition. -
getSortKey
Sort key attribute definition.Default: no sort key
-
builder
- Returns:
- a
SchemaOptions.Builder
ofSchemaOptions
-