Class PartitionIndex.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.PartitionIndex.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PartitionIndex>
- Enclosing interface:
PartitionIndex
@Stability(Experimental)
public static final class PartitionIndex.Builder
extends Object
implements software.amazon.jsii.Builder<PartitionIndex>
A builder for
PartitionIndex-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofPartitionIndex.getIndexName()Sets the value ofPartitionIndex.getKeyNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyNames
Sets the value ofPartitionIndex.getKeyNames()- Parameters:
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.- Returns:
this
-
indexName
Sets the value ofPartitionIndex.getIndexName()- Parameters:
indexName- The name of the partition index.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PartitionIndex>- Returns:
- a new instance of
PartitionIndex - Throws:
NullPointerException- if any required attribute was not provided
-