Interface BatchWriteRecordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchWriteRecordRequest.Builder,,BatchWriteRecordRequest> SageMakerFeatureStoreRuntimeRequest.Builder,SdkBuilder<BatchWriteRecordRequest.Builder,,BatchWriteRecordRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchWriteRecordRequest
-
Method Summary
Modifier and TypeMethodDescriptionentries(Collection<BatchWriteRecordEntry> entries) A list of records to write.entries(Consumer<BatchWriteRecordEntry.Builder>... entries) A list of records to write.entries(BatchWriteRecordEntry... entries) A list of records to write.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default BatchWriteRecordRequest.BuilderttlDuration(Consumer<TtlDuration.Builder> ttlDuration) Time to live duration applied to all entries in the batch that do not specify their ownTtlDuration;ExpiresAt=EventTime+TtlDuration.ttlDuration(TtlDuration ttlDuration) Time to live duration applied to all entries in the batch that do not specify their ownTtlDuration;ExpiresAt=EventTime+TtlDuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakerfeaturestoreruntime.model.SageMakerFeatureStoreRuntimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entries
A list of records to write. Each entry specifies the
FeatureGroup, the record data, and optionally target stores and a TTL duration.- Parameters:
entries- A list of records to write. Each entry specifies theFeatureGroup, the record data, and optionally target stores and a TTL duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
A list of records to write. Each entry specifies the
FeatureGroup, the record data, and optionally target stores and a TTL duration.- Parameters:
entries- A list of records to write. Each entry specifies theFeatureGroup, the record data, and optionally target stores and a TTL duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
A list of records to write. Each entry specifies the
This is a convenience method that creates an instance of theFeatureGroup, the record data, and optionally target stores and a TTL duration.BatchWriteRecordEntry.Builderavoiding the need to create one manually viaBatchWriteRecordEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<BatchWriteRecordEntry>).- Parameters:
entries- a consumer that will call methods onBatchWriteRecordEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ttlDuration
Time to live duration applied to all entries in the batch that do not specify their own
TtlDuration;ExpiresAt=EventTime+TtlDuration. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.- Parameters:
ttlDuration- Time to live duration applied to all entries in the batch that do not specify their ownTtlDuration;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
Time to live duration applied to all entries in the batch that do not specify their own
This is a convenience method that creates an instance of theTtlDuration;ExpiresAt=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:
-
overrideConfiguration
BatchWriteRecordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchWriteRecordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-