Interface CreateFeatureGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFeatureGroupRequest.Builder,
,CreateFeatureGroupRequest> SageMakerRequest.Builder
,SdkBuilder<CreateFeatureGroupRequest.Builder,
,CreateFeatureGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFeatureGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A free-form description of aFeatureGroup
.eventTimeFeatureName
(String eventTimeFeatureName) The name of the feature that stores theEventTime
of aRecord
in aFeatureGroup
.featureDefinitions
(Collection<FeatureDefinition> featureDefinitions) A list ofFeature
names and types.featureDefinitions
(Consumer<FeatureDefinition.Builder>... featureDefinitions) A list ofFeature
names and types.featureDefinitions
(FeatureDefinition... featureDefinitions) A list ofFeature
names and types.featureGroupName
(String featureGroupName) The name of theFeatureGroup
.offlineStoreConfig
(Consumer<OfflineStoreConfig.Builder> offlineStoreConfig) Use this to configure anOfflineFeatureStore
.offlineStoreConfig
(OfflineStoreConfig offlineStoreConfig) Use this to configure anOfflineFeatureStore
.onlineStoreConfig
(Consumer<OnlineStoreConfig.Builder> onlineStoreConfig) You can turn theOnlineStore
on or off by specifyingTrue
for theEnableOnlineStore
flag inOnlineStoreConfig
.onlineStoreConfig
(OnlineStoreConfig onlineStoreConfig) You can turn theOnlineStore
on or off by specifyingTrue
for theEnableOnlineStore
flag inOnlineStoreConfig
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recordIdentifierFeatureName
(String recordIdentifierFeatureName) The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureStore
.The Amazon Resource Name (ARN) of the IAM execution role used to persist data into theOfflineStore
if anOfflineStoreConfig
is provided.tags
(Collection<Tag> tags) Tags used to identifyFeatures
in eachFeatureGroup
.tags
(Consumer<Tag.Builder>... tags) Tags used to identifyFeatures
in eachFeatureGroup
.Tags used to identifyFeatures
in eachFeatureGroup
.throughputConfig
(Consumer<ThroughputConfig.Builder> throughputConfig) Sets the value of the ThroughputConfig property for this object.throughputConfig
(ThroughputConfig throughputConfig) Sets the value of the ThroughputConfig property for this object.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.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
featureGroupName
The name of the
FeatureGroup
. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.The name:
-
Must start with an alphanumeric character.
-
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
- Parameters:
featureGroupName
- The name of theFeatureGroup
. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.The name:
-
Must start with an alphanumeric character.
-
Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
recordIdentifierFeatureName
The name of the
Feature
whose value uniquely identifies aRecord
defined in theFeatureStore
. Only the latest record per identifier value will be stored in theOnlineStore
.RecordIdentifierFeatureName
must be one of feature definitions' names.You use the
RecordIdentifierFeatureName
to access data in aFeatureStore
.This name:
-
Must start with an alphanumeric character.
-
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
- Parameters:
recordIdentifierFeatureName
- The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureStore
. Only the latest record per identifier value will be stored in theOnlineStore
.RecordIdentifierFeatureName
must be one of feature definitions' names.You use the
RecordIdentifierFeatureName
to access data in aFeatureStore
.This name:
-
Must start with an alphanumeric character.
-
Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
eventTimeFeatureName
The name of the feature that stores the
EventTime
of aRecord
in aFeatureGroup
.An
EventTime
is a point in time when a new event occurs that corresponds to the creation or update of aRecord
in aFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
.An
EventTime
can be aString
orFractional
.-
Fractional
:EventTime
feature values must be a Unix timestamp in seconds. -
String
:EventTime
feature values must be an ISO-8601 string in the format. The following formats are supportedyyyy-MM-dd'T'HH:mm:ssZ
andyyyy-MM-dd'T'HH:mm:ss.SSSZ
whereyyyy
,MM
, anddd
represent the year, month, and day respectively andHH
,mm
,ss
, and if applicable,SSS
represent the hour, month, second and milliseconds respsectively.'T'
andZ
are constants.
- Parameters:
eventTimeFeatureName
- The name of the feature that stores theEventTime
of aRecord
in aFeatureGroup
.An
EventTime
is a point in time when a new event occurs that corresponds to the creation or update of aRecord
in aFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
.An
EventTime
can be aString
orFractional
.-
Fractional
:EventTime
feature values must be a Unix timestamp in seconds. -
String
:EventTime
feature values must be an ISO-8601 string in the format. The following formats are supportedyyyy-MM-dd'T'HH:mm:ssZ
andyyyy-MM-dd'T'HH:mm:ss.SSSZ
whereyyyy
,MM
, anddd
represent the year, month, and day respectively andHH
,mm
,ss
, and if applicable,SSS
represent the hour, month, second and milliseconds respsectively.'T'
andZ
are constants.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
featureDefinitions
CreateFeatureGroupRequest.Builder featureDefinitions(Collection<FeatureDefinition> featureDefinitions) A list of
Feature
names and types.Name
andType
is compulsory perFeature
.Valid feature
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
You can create up to 2,500
FeatureDefinition
s perFeatureGroup
.- Parameters:
featureDefinitions
- A list ofFeature
names and types.Name
andType
is compulsory perFeature
.Valid feature
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
You can create up to 2,500
FeatureDefinition
s perFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureDefinitions
A list of
Feature
names and types.Name
andType
is compulsory perFeature
.Valid feature
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
You can create up to 2,500
FeatureDefinition
s perFeatureGroup
.- Parameters:
featureDefinitions
- A list ofFeature
names and types.Name
andType
is compulsory perFeature
.Valid feature
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
You can create up to 2,500
FeatureDefinition
s perFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureDefinitions
CreateFeatureGroupRequest.Builder featureDefinitions(Consumer<FeatureDefinition.Builder>... featureDefinitions) A list of
Feature
names and types.Name
andType
is compulsory perFeature
.Valid feature
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
You can create up to 2,500
This is a convenience method that creates an instance of theFeatureDefinition
s perFeatureGroup
.FeatureDefinition.Builder
avoiding the need to create one manually viaFeatureDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeatureDefinitions(List<FeatureDefinition>)
.- Parameters:
featureDefinitions
- a consumer that will call methods onFeatureDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onlineStoreConfig
You can turn the
OnlineStore
on or off by specifyingTrue
for theEnableOnlineStore
flag inOnlineStoreConfig
.You can also include an Amazon Web Services KMS key ID (
KMSKeyId
) for at-rest encryption of theOnlineStore
.The default value is
False
.- Parameters:
onlineStoreConfig
- You can turn theOnlineStore
on or off by specifyingTrue
for theEnableOnlineStore
flag inOnlineStoreConfig
.You can also include an Amazon Web Services KMS key ID (
KMSKeyId
) for at-rest encryption of theOnlineStore
.The default value is
False
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onlineStoreConfig
default CreateFeatureGroupRequest.Builder onlineStoreConfig(Consumer<OnlineStoreConfig.Builder> onlineStoreConfig) You can turn the
OnlineStore
on or off by specifyingTrue
for theEnableOnlineStore
flag inOnlineStoreConfig
.You can also include an Amazon Web Services KMS key ID (
KMSKeyId
) for at-rest encryption of theOnlineStore
.The default value is
This is a convenience method that creates an instance of theFalse
.OnlineStoreConfig.Builder
avoiding the need to create one manually viaOnlineStoreConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonlineStoreConfig(OnlineStoreConfig)
.- Parameters:
onlineStoreConfig
- a consumer that will call methods onOnlineStoreConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
offlineStoreConfig
Use this to configure an
OfflineFeatureStore
. This parameter allows you to specify:-
The Amazon Simple Storage Service (Amazon S3) location of an
OfflineStore
. -
A configuration for an Amazon Web Services Glue or Amazon Web Services Hive data catalog.
-
An KMS encryption key to encrypt the Amazon S3 location used for
OfflineStore
. If KMS encryption key is not specified, by default we encrypt all data at rest using Amazon Web Services KMS key. By defining your bucket-level key for SSE, you can reduce Amazon Web Services KMS requests costs by up to 99 percent. -
Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg.
To learn more about this parameter, see OfflineStoreConfig.
- Parameters:
offlineStoreConfig
- Use this to configure anOfflineFeatureStore
. This parameter allows you to specify:-
The Amazon Simple Storage Service (Amazon S3) location of an
OfflineStore
. -
A configuration for an Amazon Web Services Glue or Amazon Web Services Hive data catalog.
-
An KMS encryption key to encrypt the Amazon S3 location used for
OfflineStore
. If KMS encryption key is not specified, by default we encrypt all data at rest using Amazon Web Services KMS key. By defining your bucket-level key for SSE, you can reduce Amazon Web Services KMS requests costs by up to 99 percent. -
Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg.
To learn more about this parameter, see OfflineStoreConfig.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
offlineStoreConfig
default CreateFeatureGroupRequest.Builder offlineStoreConfig(Consumer<OfflineStoreConfig.Builder> offlineStoreConfig) Use this to configure an
OfflineFeatureStore
. This parameter allows you to specify:-
The Amazon Simple Storage Service (Amazon S3) location of an
OfflineStore
. -
A configuration for an Amazon Web Services Glue or Amazon Web Services Hive data catalog.
-
An KMS encryption key to encrypt the Amazon S3 location used for
OfflineStore
. If KMS encryption key is not specified, by default we encrypt all data at rest using Amazon Web Services KMS key. By defining your bucket-level key for SSE, you can reduce Amazon Web Services KMS requests costs by up to 99 percent. -
Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg.
To learn more about this parameter, see OfflineStoreConfig.
This is a convenience method that creates an instance of theOfflineStoreConfig.Builder
avoiding the need to create one manually viaOfflineStoreConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toofflineStoreConfig(OfflineStoreConfig)
.- Parameters:
offlineStoreConfig
- a consumer that will call methods onOfflineStoreConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
throughputConfig
Sets the value of the ThroughputConfig property for this object.- Parameters:
throughputConfig
- The new value for the ThroughputConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throughputConfig
default CreateFeatureGroupRequest.Builder throughputConfig(Consumer<ThroughputConfig.Builder> throughputConfig) Sets the value of the ThroughputConfig property for this object. This is a convenience method that creates an instance of theThroughputConfig.Builder
avoiding the need to create one manually viaThroughputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothroughputConfig(ThroughputConfig)
.- Parameters:
throughputConfig
- a consumer that will call methods onThroughputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
OfflineStore
if anOfflineStoreConfig
is provided.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM execution role used to persist data into theOfflineStore
if anOfflineStoreConfig
is provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A free-form description of a
FeatureGroup
.- Parameters:
description
- A free-form description of aFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags used to identify
Features
in eachFeatureGroup
.- Parameters:
tags
- Tags used to identifyFeatures
in eachFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags used to identify
Features
in eachFeatureGroup
.- Parameters:
tags
- Tags used to identifyFeatures
in eachFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags used to identify
This is a convenience method that creates an instance of theFeatures
in eachFeatureGroup
.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFeatureGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFeatureGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-