Interface BatchWriteRecordEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchWriteRecordEntry.Builder,,BatchWriteRecordEntry> SdkBuilder<BatchWriteRecordEntry.Builder,,BatchWriteRecordEntry> SdkPojo
- Enclosing class:
BatchWriteRecordEntry
-
Method Summary
Modifier and TypeMethodDescriptionfeatureGroupName(String featureGroupName) The name or Amazon Resource Name (ARN) of theFeatureGroupto write the record to.record(Collection<FeatureValue> record) List of FeatureValues to be inserted.record(Consumer<FeatureValue.Builder>... record) List of FeatureValues to be inserted.record(FeatureValue... record) List of FeatureValues to be inserted.targetStores(Collection<TargetStore> targetStores) A list of stores to which you're adding the record.targetStores(TargetStore... targetStores) A list of stores to which you're adding the record.targetStoresWithStrings(String... targetStores) A list of stores to which you're adding the record.targetStoresWithStrings(Collection<String> targetStores) A list of stores to which you're adding the record.default BatchWriteRecordEntry.BuilderttlDuration(Consumer<TtlDuration.Builder> ttlDuration) Time to live duration for this entry, where the record is hard deleted after the expiration time is reached;ExpiresAt=EventTime+TtlDuration.ttlDuration(TtlDuration ttlDuration) Time to live duration for this entry, where the record is hard deleted after the expiration time is reached;ExpiresAt=EventTime+TtlDuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
featureGroupName
The name or Amazon Resource Name (ARN) of the
FeatureGroupto write the record to.- Parameters:
featureGroupName- The name or Amazon Resource Name (ARN) of theFeatureGroupto write the record to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
record
List of FeatureValues to be inserted. This will be a full over-write.
- Parameters:
record- List of FeatureValues to be inserted. This will be a full over-write.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
record
List of FeatureValues to be inserted. This will be a full over-write.
- Parameters:
record- List of FeatureValues to be inserted. This will be a full over-write.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
record
List of FeatureValues to be inserted. This will be a full over-write.
This is a convenience method that creates an instance of theFeatureValue.Builderavoiding the need to create one manually viaFeatureValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecord(List<FeatureValue>).- Parameters:
record- a consumer that will call methods onFeatureValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetStoresWithStrings
A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for the
FeatureGroup.- Parameters:
targetStores- A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for theFeatureGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetStoresWithStrings
A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for the
FeatureGroup.- Parameters:
targetStores- A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for theFeatureGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetStores
A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for the
FeatureGroup.- Parameters:
targetStores- A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for theFeatureGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetStores
A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for the
FeatureGroup.- Parameters:
targetStores- A list of stores to which you're adding the record. By default, Feature Store adds the record to all of the stores that you're using for theFeatureGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ttlDuration
Time to live duration for this entry, where the record is hard deleted after the expiration time is reached;
ExpiresAt=EventTime+TtlDuration. This overrides the request levelTtlDuration.- Parameters:
ttlDuration- Time to live duration for this entry, where the record is hard deleted after the expiration time is reached;ExpiresAt=EventTime+TtlDuration. This overrides the request levelTtlDuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ttlDuration
Time to live duration for this entry, where the record is hard deleted after the expiration time is reached;
This is a convenience method that creates an instance of theExpiresAt=EventTime+TtlDuration. This overrides the request levelTtlDuration.TtlDuration.Builderavoiding the need to create one manually viaTtlDuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tottlDuration(TtlDuration).- Parameters:
ttlDuration- a consumer that will call methods onTtlDuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-