Class RecordFormat
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisanalytics.model.RecordFormat
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecordFormat.Builder,RecordFormat>
@Generated("software.amazon.awssdk:codegen") public final class RecordFormat extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecordFormat.Builder,RecordFormat>
Describes the record format and relevant mapping information that should be applied to schematize the records on the stream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecordFormat.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecordFormat.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MappingParametersmappingParameters()When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.RecordFormatTyperecordFormatType()The type of record format.StringrecordFormatTypeAsString()The type of record format.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RecordFormat.Builder>serializableBuilderClass()RecordFormat.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
recordFormatType
public final RecordFormatType recordFormatType()
The type of record format.
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 type of record format.
- See Also:
RecordFormatType
-
recordFormatTypeAsString
public final String recordFormatTypeAsString()
The type of record format.
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 type of record format.
- See Also:
RecordFormatType
-
mappingParameters
public final MappingParameters mappingParameters()
When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
- Returns:
- When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
-
toBuilder
public RecordFormat.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecordFormat.Builder,RecordFormat>
-
builder
public static RecordFormat.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecordFormat.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-