Interface PutRecordRequest.Builder

  • Method Details

    • featureGroupName

      PutRecordRequest.Builder featureGroupName(String featureGroupName)

      The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.

      Parameters:
      featureGroupName - The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.
      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. If you only want to update few of the feature values, do the following:

      • Use GetRecord to retrieve the latest record.

      • Update the record returned from GetRecord.

      • Use PutRecord to update feature values.

      Parameters:
      record - List of FeatureValues to be inserted. This will be a full over-write. If you only want to update few of the feature values, do the following:

      • Use GetRecord to retrieve the latest record.

      • Update the record returned from GetRecord.

      • Use PutRecord to update feature values.

      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. If you only want to update few of the feature values, do the following:

      • Use GetRecord to retrieve the latest record.

      • Update the record returned from GetRecord.

      • Use PutRecord to update feature values.

      Parameters:
      record - List of FeatureValues to be inserted. This will be a full over-write. If you only want to update few of the feature values, do the following:

      • Use GetRecord to retrieve the latest record.

      • Update the record returned from GetRecord.

      • Use PutRecord to update feature values.

      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. If you only want to update few of the feature values, do the following:

      • Use GetRecord to retrieve the latest record.

      • Update the record returned from GetRecord.

      • Use PutRecord to update feature values.

      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

      PutRecordRequest.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

      PutRecordRequest.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

      PutRecordRequest.Builder targetStores(Collection<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.
    • targetStores

      PutRecordRequest.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

      PutRecordRequest.Builder ttlDuration(TtlDuration ttlDuration)

      Time to live duration, where the record is hard deleted after the expiration time is reached; ExpiresAt = EventTime + TtlDuration. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.

      Parameters:
      ttlDuration - Time to live duration, where the record is hard deleted after the expiration time is reached; ExpiresAt = EventTime + TtlDuration. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ttlDuration

      default PutRecordRequest.Builder ttlDuration(Consumer<TtlDuration.Builder> ttlDuration)

      Time to live duration, where the record is hard deleted after the expiration time is reached; ExpiresAt = EventTime + TtlDuration. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.

      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:
    • overrideConfiguration

      PutRecordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.