Class DestinationTableConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.DestinationTableConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DestinationTableConfiguration.Builder,DestinationTableConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DestinationTableConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DestinationTableConfiguration.Builder,DestinationTableConfiguration>
Describes the configuration of a destination in Apache Iceberg Tables.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDestinationTableConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DestinationTableConfiguration.Builderbuilder()StringdestinationDatabaseName()The name of the Apache Iceberg database.StringdestinationTableName()Specifies the name of the Apache Iceberg Table.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasUniqueKeys()For responses, this returns true if the service returned a value for the UniqueKeys property.PartitionSpecpartitionSpec()The partition spec configuration for a table that is used by automatic table creation.Strings3ErrorOutputPrefix()The table specific S3 error output prefix.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DestinationTableConfiguration.Builder>serializableBuilderClass()DestinationTableConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<String>uniqueKeys()A list of unique keys for a given Apache Iceberg table.-
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
-
destinationTableName
public final String destinationTableName()
Specifies the name of the Apache Iceberg Table.
- Returns:
- Specifies the name of the Apache Iceberg Table.
-
destinationDatabaseName
public final String destinationDatabaseName()
The name of the Apache Iceberg database.
- Returns:
- The name of the Apache Iceberg database.
-
hasUniqueKeys
public final boolean hasUniqueKeys()
For responses, this returns true if the service returned a value for the UniqueKeys property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
uniqueKeys
public final List<String> uniqueKeys()
A list of unique keys for a given Apache Iceberg table. Firehose will use these for running Create, Update, or Delete operations on the given Iceberg table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasUniqueKeys()method.- Returns:
- A list of unique keys for a given Apache Iceberg table. Firehose will use these for running Create, Update, or Delete operations on the given Iceberg table.
-
partitionSpec
public final PartitionSpec partitionSpec()
The partition spec configuration for a table that is used by automatic table creation.
Amazon Data Firehose is in preview release and is subject to change.
- Returns:
- The partition spec configuration for a table that is used by automatic table creation.
Amazon Data Firehose is in preview release and is subject to change.
-
s3ErrorOutputPrefix
public final String s3ErrorOutputPrefix()
The table specific S3 error output prefix. All the errors that occurred while delivering to this table will be prefixed with this value in S3 destination.
- Returns:
- The table specific S3 error output prefix. All the errors that occurred while delivering to this table will be prefixed with this value in S3 destination.
-
toBuilder
public DestinationTableConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DestinationTableConfiguration.Builder,DestinationTableConfiguration>
-
builder
public static DestinationTableConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DestinationTableConfiguration.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
-
-