Class DataIntegrationFlowDatasetOptions
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DataIntegrationFlowDatasetOptions.Builder,
DataIntegrationFlowDatasetOptions>
The dataset options used in dataset source and target configurations.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final Boolean
The option to perform deduplication on data records sharing same primary key values.The deduplication strategy to dedupe the data records sharing same primary key values of the target dataset.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
loadType()
The target dataset's data load type.final String
The target dataset's data load type.static Class
<? extends DataIntegrationFlowDatasetOptions.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
loadType
The target dataset's data load type. This only affects how source S3 files are selected in the S3-to-dataset flow.
-
REPLACE - Target dataset will get replaced with the new file added under the source s3 prefix.
-
INCREMENTAL - Target dataset will get updated with the up-to-date content under S3 prefix incorporating any file additions or removals there.
If the service returns an enum value that is not available in the current SDK version,
loadType
will returnDataIntegrationFlowLoadType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromloadTypeAsString()
.- Returns:
- The target dataset's data load type. This only affects how source S3 files are selected in the
S3-to-dataset flow.
-
REPLACE - Target dataset will get replaced with the new file added under the source s3 prefix.
-
INCREMENTAL - Target dataset will get updated with the up-to-date content under S3 prefix incorporating any file additions or removals there.
-
- See Also:
-
-
loadTypeAsString
The target dataset's data load type. This only affects how source S3 files are selected in the S3-to-dataset flow.
-
REPLACE - Target dataset will get replaced with the new file added under the source s3 prefix.
-
INCREMENTAL - Target dataset will get updated with the up-to-date content under S3 prefix incorporating any file additions or removals there.
If the service returns an enum value that is not available in the current SDK version,
loadType
will returnDataIntegrationFlowLoadType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromloadTypeAsString()
.- Returns:
- The target dataset's data load type. This only affects how source S3 files are selected in the
S3-to-dataset flow.
-
REPLACE - Target dataset will get replaced with the new file added under the source s3 prefix.
-
INCREMENTAL - Target dataset will get updated with the up-to-date content under S3 prefix incorporating any file additions or removals there.
-
- See Also:
-
-
dedupeRecords
The option to perform deduplication on data records sharing same primary key values. If disabled, transformed data with duplicate primary key values will ingest into dataset, for datasets within asc namespace, such duplicates will cause ingestion fail. If enabled without dedupeStrategy, deduplication is done by retaining a random data record among those sharing the same primary key values. If enabled with dedupeStragtegy, the deduplication is done following the strategy.
Note that target dataset may have partition configured, when dedupe is enabled, it only dedupe against primary keys and retain only one record out of those duplicates regardless of its partition status.
- Returns:
- The option to perform deduplication on data records sharing same primary key values. If disabled,
transformed data with duplicate primary key values will ingest into dataset, for datasets within
asc namespace, such duplicates will cause ingestion fail. If enabled without dedupeStrategy,
deduplication is done by retaining a random data record among those sharing the same primary key values.
If enabled with dedupeStragtegy, the deduplication is done following the strategy.
Note that target dataset may have partition configured, when dedupe is enabled, it only dedupe against primary keys and retain only one record out of those duplicates regardless of its partition status.
-
dedupeStrategy
The deduplication strategy to dedupe the data records sharing same primary key values of the target dataset. This strategy only applies to target dataset with primary keys and with dedupeRecords option enabled. If transformed data still got duplicates after the dedupeStrategy evaluation, a random data record is chosen to be retained.
- Returns:
- The deduplication strategy to dedupe the data records sharing same primary key values of the target dataset. This strategy only applies to target dataset with primary keys and with dedupeRecords option enabled. If transformed data still got duplicates after the dedupeStrategy evaluation, a random data record is chosen to be retained.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DataIntegrationFlowDatasetOptions.Builder,
DataIntegrationFlowDatasetOptions> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-