public static final class PartitionIndex.Builder
extends java.lang.Object
PartitionIndex
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PartitionIndex |
build()
Builds the configured instance.
|
PartitionIndex.Builder |
indexName(java.lang.String indexName)
Sets the value of
PartitionIndex.getIndexName() |
PartitionIndex.Builder |
keyNames(java.util.List<java.lang.String> keyNames)
Sets the value of
PartitionIndex.getKeyNames() |
public PartitionIndex.Builder keyNames(java.util.List<java.lang.String> keyNames)
PartitionIndex.getKeyNames()
keyNames
- The partition key names that comprise the partition index. This parameter is required.
The names must correspond to a name in the
table's partition keys.this
public PartitionIndex.Builder indexName(java.lang.String indexName)
PartitionIndex.getIndexName()
indexName
- The name of the partition index.this
public PartitionIndex build()
PartitionIndex
java.lang.NullPointerException
- if any required attribute was not provided