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.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.561Z") @Stability(Experimental) public class PartitionKeyStep extends software.amazon.jsii.JsiiObject
(experimental) 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
    (experimental) Assign an auto-generated value to the partition key.
    is(String val)
    (experimental) 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(Experimental) public PartitionKeyStep(@NotNull String key)
      Parameters:
      key - This parameter is required.
  • Method Details

    • auto

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

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

      Parameters:
      val - This parameter is required.