Record Class CreateTable

java.lang.Object
java.lang.Record
io.camunda.connector.aws.dynamodb.model.CreateTable
All Implemented Interfaces:
AwsInput, TableInput

public record CreateTable(@NotBlank String tableName, @NotBlank String partitionKey, @NotBlank String partitionKeyRole, @NotBlank String partitionKeyType, String sortKey, String sortKeyRole, String sortKeyType, @NotNull Long readCapacityUnits, @NotNull Long writeCapacityUnits, @NotBlank String billingModeStr, @jakarta.validation.constraints.NotNull boolean deletionProtection) extends Record implements TableInput
  • Constructor Summary

    Constructors
    Constructor
    Description
    CreateTable(@NotBlank String tableName, @NotBlank String partitionKey, @NotBlank String partitionKeyRole, @NotBlank String partitionKeyType, String sortKey, String sortKeyRole, String sortKeyType, @NotNull Long readCapacityUnits, @NotNull Long writeCapacityUnits, @NotBlank String billingModeStr, @jakarta.validation.constraints.NotNull boolean deletionProtection)
    Creates an instance of a CreateTable record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotBlank String
    Returns the value of the billingModeStr record component.
    @jakarta.validation.constraints.NotNull boolean
    Returns the value of the deletionProtection record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    @NotBlank String
    Returns the value of the partitionKey record component.
    @NotBlank String
    Returns the value of the partitionKeyRole record component.
    @NotBlank String
    Returns the value of the partitionKeyType record component.
    @NotNull Long
    Returns the value of the readCapacityUnits record component.
    Returns the value of the sortKey record component.
    Returns the value of the sortKeyRole record component.
    Returns the value of the sortKeyType record component.
    @NotBlank String
    Returns the value of the tableName record component.
    final String
    Returns a string representation of this record class.
    @NotNull Long
    Returns the value of the writeCapacityUnits record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CreateTable

      public CreateTable(@NotBlank @NotBlank String tableName, @NotBlank @NotBlank String partitionKey, @NotBlank @NotBlank String partitionKeyRole, @NotBlank @NotBlank String partitionKeyType, String sortKey, String sortKeyRole, String sortKeyType, @NotNull @NotNull Long readCapacityUnits, @NotNull @NotNull Long writeCapacityUnits, @NotBlank @NotBlank String billingModeStr, @NotNull @jakarta.validation.constraints.NotNull boolean deletionProtection)
      Creates an instance of a CreateTable record class.
      Parameters:
      tableName - the value for the tableName record component
      partitionKey - the value for the partitionKey record component
      partitionKeyRole - the value for the partitionKeyRole record component
      partitionKeyType - the value for the partitionKeyType record component
      sortKey - the value for the sortKey record component
      sortKeyRole - the value for the sortKeyRole record component
      sortKeyType - the value for the sortKeyType record component
      readCapacityUnits - the value for the readCapacityUnits record component
      writeCapacityUnits - the value for the writeCapacityUnits record component
      billingModeStr - the value for the billingModeStr record component
      deletionProtection - the value for the deletionProtection record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • tableName

      @NotBlank public @NotBlank String tableName()
      Returns the value of the tableName record component.
      Returns:
      the value of the tableName record component
    • partitionKey

      @NotBlank public @NotBlank String partitionKey()
      Returns the value of the partitionKey record component.
      Returns:
      the value of the partitionKey record component
    • partitionKeyRole

      @NotBlank public @NotBlank String partitionKeyRole()
      Returns the value of the partitionKeyRole record component.
      Returns:
      the value of the partitionKeyRole record component
    • partitionKeyType

      @NotBlank public @NotBlank String partitionKeyType()
      Returns the value of the partitionKeyType record component.
      Returns:
      the value of the partitionKeyType record component
    • sortKey

      public String sortKey()
      Returns the value of the sortKey record component.
      Returns:
      the value of the sortKey record component
    • sortKeyRole

      public String sortKeyRole()
      Returns the value of the sortKeyRole record component.
      Returns:
      the value of the sortKeyRole record component
    • sortKeyType

      public String sortKeyType()
      Returns the value of the sortKeyType record component.
      Returns:
      the value of the sortKeyType record component
    • readCapacityUnits

      @NotNull public @NotNull Long readCapacityUnits()
      Returns the value of the readCapacityUnits record component.
      Returns:
      the value of the readCapacityUnits record component
    • writeCapacityUnits

      @NotNull public @NotNull Long writeCapacityUnits()
      Returns the value of the writeCapacityUnits record component.
      Returns:
      the value of the writeCapacityUnits record component
    • billingModeStr

      @NotBlank public @NotBlank String billingModeStr()
      Returns the value of the billingModeStr record component.
      Returns:
      the value of the billingModeStr record component
    • deletionProtection

      @NotNull public @jakarta.validation.constraints.NotNull boolean deletionProtection()
      Returns the value of the deletionProtection record component.
      Returns:
      the value of the deletionProtection record component