Interface PutRecordRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutRecordRequest.Builder,PutRecordRequest>,SageMakerFeatureStoreRuntimeRequest.Builder,SdkBuilder<PutRecordRequest.Builder,PutRecordRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutRecordRequest
public static interface PutRecordRequest.Builder extends SageMakerFeatureStoreRuntimeRequest.Builder, SdkPojo, CopyableBuilder<PutRecordRequest.Builder,PutRecordRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutRecordRequest.BuilderfeatureGroupName(String featureGroupName)The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.PutRecordRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutRecordRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutRecordRequest.Builderrecord(Collection<FeatureValue> record)List of FeatureValues to be inserted.PutRecordRequest.Builderrecord(Consumer<FeatureValue.Builder>... record)List of FeatureValues to be inserted.PutRecordRequest.Builderrecord(FeatureValue... record)List of FeatureValues to be inserted.PutRecordRequest.BuildertargetStores(Collection<TargetStore> targetStores)A list of stores to which you're adding the record.PutRecordRequest.BuildertargetStores(TargetStore... targetStores)A list of stores to which you're adding the record.PutRecordRequest.BuildertargetStoresWithStrings(String... targetStores)A list of stores to which you're adding the record.PutRecordRequest.BuildertargetStoresWithStrings(Collection<String> targetStores)A list of stores to which you're adding the record.default PutRecordRequest.BuilderttlDuration(Consumer<TtlDuration.Builder> ttlDuration)Time to live duration, where the record is hard deleted after the expiration time is reached;ExpiresAt=EventTime+TtlDuration.PutRecordRequest.BuilderttlDuration(TtlDuration ttlDuration)Time to live duration, where the record is hard deleted after the expiration time is reached;ExpiresAt=EventTime+TtlDuration.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemakerfeaturestoreruntime.model.SageMakerFeatureStoreRuntimeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
PutRecordRequest.Builder record(Collection<FeatureValue> 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
GetRecordto retrieve the latest record. -
Update the record returned from
GetRecord. -
Use
PutRecordto 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
GetRecordto retrieve the latest record. -
Update the record returned from
GetRecord. -
Use
PutRecordto update feature values.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
record
PutRecordRequest.Builder record(FeatureValue... 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
GetRecordto retrieve the latest record. -
Update the record returned from
GetRecord. -
Use
PutRecordto 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
GetRecordto retrieve the latest record. -
Update the record returned from
GetRecord. -
Use
PutRecordto update feature values.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
record
PutRecordRequest.Builder record(Consumer<FeatureValue.Builder>... 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
GetRecordto retrieve the latest record. -
Update the record returned from
GetRecord. -
Use
PutRecordto update feature values.
FeatureValue.Builderavoiding the need to create one manually viaFeatureValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#record(List.) - 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:
#record(java.util.Collection)
-
-
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 theFeatureGroup.- 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 theFeatureGroup.- 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 theFeatureGroup.- 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 theFeatureGroup.- 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;
This is a convenience method that creates an instance of theExpiresAt=EventTime+TtlDuration. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.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:
ttlDuration(TtlDuration)
-
overrideConfiguration
PutRecordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutRecordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-