Interface PartitionKey.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PartitionKey.Builder,PartitionKey>,SdkBuilder<PartitionKey.Builder,PartitionKey>,SdkPojo
- Enclosing class:
- PartitionKey
public static interface PartitionKey.Builder extends SdkPojo, CopyableBuilder<PartitionKey.Builder,PartitionKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartitionKey.Buildername(String name)The name of the partition key.PartitionKey.Buildertype(String type)The data type of the partition key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
PartitionKey.Builder name(String name)
The name of the partition key.
- Parameters:
name- The name of the partition key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
PartitionKey.Builder type(String type)
The data type of the partition key. For example,
bigintorstring.- Parameters:
type- The data type of the partition key. For example,bigintorstring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-