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 theEventTimeof aRecordin aFeatureGroup.featureDefinitions(Collection<FeatureDefinition> featureDefinitions) A list ofFeaturenames and types.featureDefinitions(Consumer<FeatureDefinition.Builder>... featureDefinitions) A list ofFeaturenames and types.featureDefinitions(FeatureDefinition... featureDefinitions) A list ofFeaturenames 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 theOnlineStoreon or off by specifyingTruefor theEnableOnlineStoreflag inOnlineStoreConfig.onlineStoreConfig(OnlineStoreConfig onlineStoreConfig) You can turn theOnlineStoreon or off by specifyingTruefor theEnableOnlineStoreflag 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 theFeaturewhose value uniquely identifies aRecorddefined in theFeatureStore.The Amazon Resource Name (ARN) of the IAM execution role used to persist data into theOfflineStoreif anOfflineStoreConfigis provided.tags(Collection<Tag> tags) Tags used to identifyFeaturesin eachFeatureGroup.tags(Consumer<Tag.Builder>... tags) Tags used to identifyFeaturesin eachFeatureGroup.Tags used to identifyFeaturesin 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
Featurewhose value uniquely identifies aRecorddefined in theFeatureStore. Only the latest record per identifier value will be stored in theOnlineStore.RecordIdentifierFeatureNamemust be one of feature definitions' names.You use the
RecordIdentifierFeatureNameto 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 theFeaturewhose value uniquely identifies aRecorddefined in theFeatureStore. Only the latest record per identifier value will be stored in theOnlineStore.RecordIdentifierFeatureNamemust be one of feature definitions' names.You use the
RecordIdentifierFeatureNameto 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
EventTimeof aRecordin aFeatureGroup.An
EventTimeis a point in time when a new event occurs that corresponds to the creation or update of aRecordin aFeatureGroup. AllRecordsin theFeatureGroupmust have a correspondingEventTime.An
EventTimecan be aStringorFractional.-
Fractional:EventTimefeature values must be a Unix timestamp in seconds. -
String:EventTimefeature values must be an ISO-8601 string in the format. The following formats are supportedyyyy-MM-dd'T'HH:mm:ssZandyyyy-MM-dd'T'HH:mm:ss.SSSZwhereyyyy,MM, andddrepresent the year, month, and day respectively andHH,mm,ss, and if applicable,SSSrepresent the hour, month, second and milliseconds respsectively.'T'andZare constants.
- Parameters:
eventTimeFeatureName- The name of the feature that stores theEventTimeof aRecordin aFeatureGroup.An
EventTimeis a point in time when a new event occurs that corresponds to the creation or update of aRecordin aFeatureGroup. AllRecordsin theFeatureGroupmust have a correspondingEventTime.An
EventTimecan be aStringorFractional.-
Fractional:EventTimefeature values must be a Unix timestamp in seconds. -
String:EventTimefeature values must be an ISO-8601 string in the format. The following formats are supportedyyyy-MM-dd'T'HH:mm:ssZandyyyy-MM-dd'T'HH:mm:ss.SSSZwhereyyyy,MM, andddrepresent the year, month, and day respectively andHH,mm,ss, and if applicable,SSSrepresent the hour, month, second and milliseconds respsectively.'T'andZare 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
Featurenames and types.NameandTypeis compulsory perFeature.Valid feature
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_timeYou can create up to 2,500
FeatureDefinitions perFeatureGroup.- Parameters:
featureDefinitions- A list ofFeaturenames and types.NameandTypeis compulsory perFeature.Valid feature
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_timeYou can create up to 2,500
FeatureDefinitions perFeatureGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureDefinitions
A list of
Featurenames and types.NameandTypeis compulsory perFeature.Valid feature
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_timeYou can create up to 2,500
FeatureDefinitions perFeatureGroup.- Parameters:
featureDefinitions- A list ofFeaturenames and types.NameandTypeis compulsory perFeature.Valid feature
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_timeYou can create up to 2,500
FeatureDefinitions 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
Featurenames and types.NameandTypeis compulsory perFeature.Valid feature
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_timeYou can create up to 2,500
This is a convenience method that creates an instance of theFeatureDefinitions perFeatureGroup.FeatureDefinition.Builderavoiding the need to create one manually viaFeatureDefinition.builder().When the
Consumercompletes,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
OnlineStoreon or off by specifyingTruefor theEnableOnlineStoreflag 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 theOnlineStoreon or off by specifyingTruefor theEnableOnlineStoreflag 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
OnlineStoreon or off by specifyingTruefor theEnableOnlineStoreflag 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.Builderavoiding the need to create one manually viaOnlineStoreConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaOfflineStoreConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaThroughputConfig.builder().When the
Consumercompletes,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
OfflineStoreif anOfflineStoreConfigis provided.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM execution role used to persist data into theOfflineStoreif anOfflineStoreConfigis 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
Featuresin eachFeatureGroup.- Parameters:
tags- Tags used to identifyFeaturesin eachFeatureGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags used to identify
Featuresin eachFeatureGroup.- Parameters:
tags- Tags used to identifyFeaturesin 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 theFeaturesin eachFeatureGroup.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-