@Generated(value="software.amazon.awssdk:codegen") public class RecordTag extends Object implements StructuredPojo, ToCopyableBuilder<RecordTag.Builder,RecordTag>
A tag associated with the record, stored as a key-value pair.
Modifier and Type | Class and Description |
---|---|
static interface |
RecordTag.Builder |
Modifier and Type | Method and Description |
---|---|
static RecordTag.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key for this tag.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends RecordTag.Builder> |
serializableBuilderClass() |
RecordTag.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
The value for this tag.
|
copy
public String key()
The key for this tag.
public String value()
The value for this tag.
public RecordTag.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RecordTag.Builder,RecordTag>
public static RecordTag.Builder builder()
public static Class<? extends RecordTag.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.