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
ConstructorsConstructorDescriptionCreateTable(@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 aCreateTablerecord class. -
Method Summary
Modifier and TypeMethodDescription@NotBlank StringReturns the value of thebillingModeStrrecord component.@jakarta.validation.constraints.NotNull booleanReturns the value of thedeletionProtectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotBlank StringReturns the value of thepartitionKeyrecord component.@NotBlank StringReturns the value of thepartitionKeyRolerecord component.@NotBlank StringReturns the value of thepartitionKeyTyperecord component.@NotNull LongReturns the value of thereadCapacityUnitsrecord component.sortKey()Returns the value of thesortKeyrecord component.Returns the value of thesortKeyRolerecord component.Returns the value of thesortKeyTyperecord component.@NotBlank StringReturns the value of thetableNamerecord component.final StringtoString()Returns a string representation of this record class.@NotNull LongReturns the value of thewriteCapacityUnitsrecord component.
-
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 aCreateTablerecord class.- Parameters:
tableName- the value for thetableNamerecord componentpartitionKey- the value for thepartitionKeyrecord componentpartitionKeyRole- the value for thepartitionKeyRolerecord componentpartitionKeyType- the value for thepartitionKeyTyperecord componentsortKey- the value for thesortKeyrecord componentsortKeyRole- the value for thesortKeyRolerecord componentsortKeyType- the value for thesortKeyTyperecord componentreadCapacityUnits- the value for thereadCapacityUnitsrecord componentwriteCapacityUnits- the value for thewriteCapacityUnitsrecord componentbillingModeStr- the value for thebillingModeStrrecord componentdeletionProtection- the value for thedeletionProtectionrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
tableName
Returns the value of thetableNamerecord component.- Returns:
- the value of the
tableNamerecord component
-
partitionKey
Returns the value of thepartitionKeyrecord component.- Returns:
- the value of the
partitionKeyrecord component
-
partitionKeyRole
Returns the value of thepartitionKeyRolerecord component.- Returns:
- the value of the
partitionKeyRolerecord component
-
partitionKeyType
Returns the value of thepartitionKeyTyperecord component.- Returns:
- the value of the
partitionKeyTyperecord component
-
sortKey
Returns the value of thesortKeyrecord component.- Returns:
- the value of the
sortKeyrecord component
-
sortKeyRole
Returns the value of thesortKeyRolerecord component.- Returns:
- the value of the
sortKeyRolerecord component
-
sortKeyType
Returns the value of thesortKeyTyperecord component.- Returns:
- the value of the
sortKeyTyperecord component
-
readCapacityUnits
Returns the value of thereadCapacityUnitsrecord component.- Returns:
- the value of the
readCapacityUnitsrecord component
-
writeCapacityUnits
Returns the value of thewriteCapacityUnitsrecord component.- Returns:
- the value of the
writeCapacityUnitsrecord component
-
billingModeStr
Returns the value of thebillingModeStrrecord component.- Returns:
- the value of the
billingModeStrrecord component
-
deletionProtection
@NotNull public @jakarta.validation.constraints.NotNull boolean deletionProtection()Returns the value of thedeletionProtectionrecord component.- Returns:
- the value of the
deletionProtectionrecord component
-