@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:01.090Z") @Stability(value=Experimental) public class PartitionKey extends PrimaryKey
It can be enhanced with the assignment of the sort key.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appsync.*; Assign assign; PartitionKey partitionKey = new PartitionKey(assign);
| Modifier | Constructor and Description |
|---|---|
|
PartitionKey(Assign pkey) |
protected |
PartitionKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PartitionKey(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
SortKeyStep |
sort(String key)
(experimental) Allows assigning a value to the sort key.
|
getPkey, partition, renderTemplatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected PartitionKey(software.amazon.jsii.JsiiObjectRef objRef)
protected PartitionKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public PartitionKey(@NotNull
Assign pkey)
pkey - This parameter is required.@Stability(value=Experimental) @NotNull public SortKeyStep sort(@NotNull String key)
key - This parameter is required.Copyright © 2022. All rights reserved.