@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRecordRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutRecordRequest() |
Modifier and Type | Method and Description |
---|---|
PutRecordRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFeatureGroupName()
The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.
|
List<FeatureValue> |
getRecord()
List of FeatureValues to be inserted.
|
List<String> |
getTargetStores()
A list of stores to which you're adding the record.
|
TtlDuration |
getTtlDuration()
Time to live duration, where the record is hard deleted after the expiration time is reached;
ExpiresAt = EventTime + TtlDuration . |
int |
hashCode() |
void |
setFeatureGroupName(String featureGroupName)
The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.
|
void |
setRecord(Collection<FeatureValue> record)
List of FeatureValues to be inserted.
|
void |
setTargetStores(Collection<String> targetStores)
A list of stores to which you're adding the record.
|
void |
setTtlDuration(TtlDuration ttlDuration)
Time to live duration, where the record is hard deleted after the expiration time is reached;
ExpiresAt = EventTime + TtlDuration . |
String |
toString()
Returns a string representation of this object.
|
PutRecordRequest |
withFeatureGroupName(String featureGroupName)
The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.
|
PutRecordRequest |
withRecord(Collection<FeatureValue> record)
List of FeatureValues to be inserted.
|
PutRecordRequest |
withRecord(FeatureValue... record)
List of FeatureValues to be inserted.
|
PutRecordRequest |
withTargetStores(Collection<String> targetStores)
A list of stores to which you're adding the record.
|
PutRecordRequest |
withTargetStores(String... targetStores)
A list of stores to which you're adding the record.
|
PutRecordRequest |
withTargetStores(TargetStore... targetStores)
A list of stores to which you're adding the record.
|
PutRecordRequest |
withTtlDuration(TtlDuration ttlDuration)
Time to live duration, where the record is hard deleted after the expiration time is reached;
ExpiresAt = EventTime + TtlDuration . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFeatureGroupName(String featureGroupName)
The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.
featureGroupName
- The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.public String getFeatureGroupName()
The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.
public PutRecordRequest withFeatureGroupName(String featureGroupName)
The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.
featureGroupName
- The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into.public List<FeatureValue> getRecord()
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.
Use GetRecord
to retrieve the latest record.
Update the record returned from GetRecord
.
Use PutRecord
to update feature values.
public void setRecord(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 GetRecord
to retrieve the latest record.
Update the record returned from GetRecord
.
Use PutRecord
to update feature values.
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.
public PutRecordRequest withRecord(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 GetRecord
to retrieve the latest record.
Update the record returned from GetRecord
.
Use PutRecord
to update feature values.
NOTE: This method appends the values to the existing list (if any). Use
setRecord(java.util.Collection)
or withRecord(java.util.Collection)
if you want to override the
existing values.
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.
public PutRecordRequest withRecord(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 GetRecord
to retrieve the latest record.
Update the record returned from GetRecord
.
Use PutRecord
to update feature values.
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.
public List<String> getTargetStores()
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
.
FeatureGroup
.TargetStore
public void setTargetStores(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
.
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
.TargetStore
public PutRecordRequest withTargetStores(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
.
NOTE: This method appends the values to the existing list (if any). Use
setTargetStores(java.util.Collection)
or withTargetStores(java.util.Collection)
if you want to
override the existing values.
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
.TargetStore
public PutRecordRequest withTargetStores(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
.
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
.TargetStore
public PutRecordRequest withTargetStores(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
.
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
.TargetStore
public void setTtlDuration(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.
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.public TtlDuration getTtlDuration()
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.
ExpiresAt
= EventTime
+ TtlDuration
. For information on
HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.public PutRecordRequest withTtlDuration(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.
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.public String toString()
toString
in class Object
Object.toString()
public PutRecordRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.