Interface BatchWriteRecordEntry.Builder

  • Method Details

    • featureGroupName

      BatchWriteRecordEntry.Builder featureGroupName(String featureGroupName)

      The name or Amazon Resource Name (ARN) of the FeatureGroup to write the record to.

      Parameters:
      featureGroupName - The name or Amazon Resource Name (ARN) of the FeatureGroup to 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 the FeatureValue.Builder avoiding the need to create one manually via FeatureValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to record(List<FeatureValue>).

      Parameters:
      record - a consumer that will call methods on FeatureValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetStoresWithStrings

      BatchWriteRecordEntry.Builder targetStoresWithStrings(Collection<String> 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 the FeatureGroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetStoresWithStrings

      BatchWriteRecordEntry.Builder targetStoresWithStrings(String... 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 the FeatureGroup.
      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 the FeatureGroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetStores

      BatchWriteRecordEntry.Builder targetStores(TargetStore... 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 the FeatureGroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ttlDuration

      BatchWriteRecordEntry.Builder 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. This overrides the request level TtlDuration.

      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 level TtlDuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ttlDuration

      default BatchWriteRecordEntry.Builder ttlDuration(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. This overrides the request level TtlDuration.

      This is a convenience method that creates an instance of the TtlDuration.Builder avoiding the need to create one manually via TtlDuration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ttlDuration(TtlDuration).

      Parameters:
      ttlDuration - a consumer that will call methods on TtlDuration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: