Class PartitionKeyStep

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.PartitionKeyStep
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:14.682Z") @Stability(Stable) public class PartitionKeyStep extends software.amazon.jsii.JsiiObject
Utility class to allow assigning a value or an auto-generated id to a partition 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.*;
 PartitionKeyStep partitionKeyStep = new PartitionKeyStep("key");
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    PartitionKeyStep(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    PartitionKeyStep(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Assign an auto-generated value to the partition key.
    is(String val)
    Assign an auto-generated value to the partition key.

    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

    • PartitionKeyStep

      protected PartitionKeyStep(software.amazon.jsii.JsiiObjectRef objRef)
    • PartitionKeyStep

      protected PartitionKeyStep(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • PartitionKeyStep

      @Stability(Stable) public PartitionKeyStep(@NotNull String key)
      Parameters:
      key - This parameter is required.
  • Method Details

    • auto

      @Stability(Stable) @NotNull public PartitionKey auto()
      Assign an auto-generated value to the partition key.
    • is

      @Stability(Stable) @NotNull public PartitionKey is(@NotNull String val)
      Assign an auto-generated value to the partition key.

      Parameters:
      val - This parameter is required.