Class RecordConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecordConfiguration.Builder,RecordConfiguration>
Specifies the format of records read from the source stream.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RecordConfiguration.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final StringThe Amazon Resource Name (ARN) of the Amazon Web Services Glue Schema Registry schema used to validate records.final inthashCode()final RecordFormatTypeThe format of records on the source stream.final StringThe format of records on the source stream.static Class<? extends RecordConfiguration.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
recordFormatType
The format of records on the source stream. Valid values:
-
GSR_JSON- Supported only for streaming table (Amazon S3 Tables) destinations. -
JSON- Supported for both general purpose Amazon S3 and streaming table destinations. -
STRING- Supported only for general purpose Amazon S3 destinations. -
BYTE_ARRAY- Supported only for general purpose Amazon S3 destinations.
If the service returns an enum value that is not available in the current SDK version,
recordFormatTypewill returnRecordFormatType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecordFormatTypeAsString().- Returns:
- The format of records on the source stream. Valid values:
-
GSR_JSON- Supported only for streaming table (Amazon S3 Tables) destinations. -
JSON- Supported for both general purpose Amazon S3 and streaming table destinations. -
STRING- Supported only for general purpose Amazon S3 destinations. -
BYTE_ARRAY- Supported only for general purpose Amazon S3 destinations.
-
- See Also:
-
-
recordFormatTypeAsString
The format of records on the source stream. Valid values:
-
GSR_JSON- Supported only for streaming table (Amazon S3 Tables) destinations. -
JSON- Supported for both general purpose Amazon S3 and streaming table destinations. -
STRING- Supported only for general purpose Amazon S3 destinations. -
BYTE_ARRAY- Supported only for general purpose Amazon S3 destinations.
If the service returns an enum value that is not available in the current SDK version,
recordFormatTypewill returnRecordFormatType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecordFormatTypeAsString().- Returns:
- The format of records on the source stream. Valid values:
-
GSR_JSON- Supported only for streaming table (Amazon S3 Tables) destinations. -
JSON- Supported for both general purpose Amazon S3 and streaming table destinations. -
STRING- Supported only for general purpose Amazon S3 destinations. -
BYTE_ARRAY- Supported only for general purpose Amazon S3 destinations.
-
- See Also:
-
-
gsrSchemaARN
The Amazon Resource Name (ARN) of the Amazon Web Services Glue Schema Registry schema used to validate records. Required when the channel destination is a streaming table (Amazon S3 Tables), for both the
JSONandGSR_JSONrecord formats.- Returns:
- The Amazon Resource Name (ARN) of the Amazon Web Services Glue Schema Registry schema used to validate
records. Required when the channel destination is a streaming table (Amazon S3 Tables), for both the
JSONandGSR_JSONrecord formats.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecordConfiguration.Builder,RecordConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-