@Generated(value="software.amazon.awssdk:codegen") public class SourceSchema extends Object implements StructuredPojo, ToCopyableBuilder<SourceSchema.Builder,SourceSchema>
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
Modifier and Type | Class and Description |
---|---|
static interface |
SourceSchema.Builder |
Modifier and Type | Method and Description |
---|---|
static SourceSchema.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<RecordColumn> |
recordColumns()
A list of
RecordColumn objects. |
String |
recordEncoding()
Specifies the encoding of the records in the streaming source.
|
RecordFormat |
recordFormat()
Specifies the format of the records on the streaming source.
|
static Class<? extends SourceSchema.Builder> |
serializableBuilderClass() |
SourceSchema.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public RecordFormat recordFormat()
Specifies the format of the records on the streaming source.
public String recordEncoding()
Specifies the encoding of the records in the streaming source. For example, UTF-8.
public List<RecordColumn> recordColumns()
A list of RecordColumn
objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
RecordColumn
objects.public SourceSchema.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SourceSchema.Builder,SourceSchema>
public static SourceSchema.Builder builder()
public static Class<? extends SourceSchema.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.