@Generated(value="software.amazon.awssdk:codegen") public final class PrimaryKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PrimaryKey.Builder,PrimaryKey>
The primary key for a KSDS data set.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PrimaryKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PrimaryKey.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
length()
A strictly positive integer value representing the length of the primary key.
|
String |
name()
A name for the Primary Key.
|
Integer |
offset()
A positive integer value representing the offset to mark the start of the primary key in the record byte array.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PrimaryKey.Builder> |
serializableBuilderClass() |
PrimaryKey.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer length()
A strictly positive integer value representing the length of the primary key.
public final String name()
A name for the Primary Key.
public final Integer offset()
A positive integer value representing the offset to mark the start of the primary key in the record byte array.
public PrimaryKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PrimaryKey.Builder,PrimaryKey>public static PrimaryKey.Builder builder()
public static Class<? extends PrimaryKey.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.