@Generated(value="software.amazon.awssdk:codegen") public final class AlternateKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlternateKey.Builder,AlternateKey>
Defines an alternate key. This value is optional. A legacy data set might not have any alternate key defined but if those alternate keys definitions exist, provide them, as some applications will make use of them.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AlternateKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowDuplicates()
Indicates whether the alternate key values are supposed to be unique for the given data set.
|
static AlternateKey.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 alternate key.
|
String |
name()
The name of the alternate key.
|
Integer |
offset()
A positive integer value representing the offset to mark the start of the alternate key part in the record byte
array.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AlternateKey.Builder> |
serializableBuilderClass() |
AlternateKey.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean allowDuplicates()
Indicates whether the alternate key values are supposed to be unique for the given data set.
public final Integer length()
A strictly positive integer value representing the length of the alternate key.
public final String name()
The name of the alternate key.
public final Integer offset()
A positive integer value representing the offset to mark the start of the alternate key part in the record byte array.
public AlternateKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AlternateKey.Builder,AlternateKey>public static AlternateKey.Builder builder()
public static Class<? extends AlternateKey.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.