Class PartitionKey
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.PrimaryKey
software.amazon.awscdk.services.appsync.PartitionKey
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.424Z")
@Stability(Stable)
public class PartitionKey
extends PrimaryKey
Specifies the assignment to the partition key.
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);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionPartitionKey
(Assign pkey) protected
PartitionKey
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
PartitionKey
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionAllows assigning a value to the sort key.Methods inherited from class software.amazon.awscdk.services.appsync.PrimaryKey
getPkey, partition, renderTemplate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
PartitionKey
protected PartitionKey(software.amazon.jsii.JsiiObjectRef objRef) -
PartitionKey
protected PartitionKey(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
PartitionKey
- Parameters:
pkey
- This parameter is required.
-
-
Method Details
-
sort
Allows assigning a value to the sort key.- Parameters:
key
- This parameter is required.
-