@Generated(value="software.amazon.awssdk:codegen") public final class KeyValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeyValue.Builder,KeyValue>
A key-value pair.
Modifier and Type | Class and Description |
---|---|
static interface |
KeyValue.Builder |
Modifier and Type | Method and Description |
---|---|
static KeyValue.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The unique identifier of a key-value pair.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KeyValue.Builder> |
serializableBuilderClass() |
KeyValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value part of the identified key.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String key()
The unique identifier of a key-value pair.
public final String value()
The value part of the identified key.
public KeyValue.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<KeyValue.Builder,KeyValue>
public static KeyValue.Builder builder()
public static Class<? extends KeyValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.