Class CfnFeatureGroup.OnlineStoreConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnFeatureGroup.OnlineStoreConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroup.OnlineStoreConfigProperty>
- Enclosing interface:
CfnFeatureGroup.OnlineStoreConfigProperty
@Stability(Stable)
public static final class CfnFeatureGroup.OnlineStoreConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeatureGroup.OnlineStoreConfigProperty>
A builder for
CfnFeatureGroup.OnlineStoreConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableOnlineStore(Boolean enableOnlineStore) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getEnableOnlineStore()enableOnlineStore(IResolvable enableOnlineStore) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getEnableOnlineStore()securityConfig(IResolvable securityConfig) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getSecurityConfig()securityConfig(CfnFeatureGroup.OnlineStoreSecurityConfigProperty securityConfig) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getSecurityConfig()storageType(String storageType) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getStorageType()ttlDuration(IResolvable ttlDuration) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getTtlDuration()ttlDuration(CfnFeatureGroup.TtlDurationProperty ttlDuration) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getTtlDuration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableOnlineStore
@Stability(Stable) public CfnFeatureGroup.OnlineStoreConfigProperty.Builder enableOnlineStore(Boolean enableOnlineStore) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getEnableOnlineStore()- Parameters:
enableOnlineStore- TurnOnlineStoreoff by specifyingFalsefor theEnableOnlineStoreflag. TurnOnlineStoreon by specifyingTruefor theEnableOnlineStoreflag.The default value is
False.- Returns:
this
-
enableOnlineStore
@Stability(Stable) public CfnFeatureGroup.OnlineStoreConfigProperty.Builder enableOnlineStore(IResolvable enableOnlineStore) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getEnableOnlineStore()- Parameters:
enableOnlineStore- TurnOnlineStoreoff by specifyingFalsefor theEnableOnlineStoreflag. TurnOnlineStoreon by specifyingTruefor theEnableOnlineStoreflag.The default value is
False.- Returns:
this
-
securityConfig
@Stability(Stable) public CfnFeatureGroup.OnlineStoreConfigProperty.Builder securityConfig(IResolvable securityConfig) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getSecurityConfig()- Parameters:
securityConfig- Use to specify KMS Key ID (KMSKeyId) for at-rest encryption of yourOnlineStore.- Returns:
this
-
securityConfig
@Stability(Stable) public CfnFeatureGroup.OnlineStoreConfigProperty.Builder securityConfig(CfnFeatureGroup.OnlineStoreSecurityConfigProperty securityConfig) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getSecurityConfig()- Parameters:
securityConfig- Use to specify KMS Key ID (KMSKeyId) for at-rest encryption of yourOnlineStore.- Returns:
this
-
storageType
@Stability(Stable) public CfnFeatureGroup.OnlineStoreConfigProperty.Builder storageType(String storageType) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getStorageType()- Parameters:
storageType- Option for different tiers of low latency storage for real-time data retrieval.Standard: A managed low latency data store for feature groups.InMemory: A managed data store for feature groups that supports very low latency retrieval.
- Returns:
this
-
ttlDuration
@Stability(Stable) public CfnFeatureGroup.OnlineStoreConfigProperty.Builder ttlDuration(IResolvable ttlDuration) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getTtlDuration()- 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:
this
-
ttlDuration
@Stability(Stable) public CfnFeatureGroup.OnlineStoreConfigProperty.Builder ttlDuration(CfnFeatureGroup.TtlDurationProperty ttlDuration) Sets the value ofCfnFeatureGroup.OnlineStoreConfigProperty.getTtlDuration()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroup.OnlineStoreConfigProperty>- Returns:
- a new instance of
CfnFeatureGroup.OnlineStoreConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-