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()
-
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
-
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
-