Interface FeatureGroup.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FeatureGroup.Builder,FeatureGroup>
,SdkBuilder<FeatureGroup.Builder,FeatureGroup>
,SdkPojo
- Enclosing class:
- FeatureGroup
public static interface FeatureGroup.Builder extends SdkPojo, CopyableBuilder<FeatureGroup.Builder,FeatureGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FeatureGroup.Builder
creationTime(Instant creationTime)
The time aFeatureGroup
was created.FeatureGroup.Builder
description(String description)
A free form description of aFeatureGroup
.FeatureGroup.Builder
eventTimeFeatureName(String eventTimeFeatureName)
The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.FeatureGroup.Builder
failureReason(String failureReason)
The reason that theFeatureGroup
failed to be replicated in theOfflineStore
.FeatureGroup.Builder
featureDefinitions(Collection<FeatureDefinition> featureDefinitions)
A list ofFeature
s.FeatureGroup.Builder
featureDefinitions(Consumer<FeatureDefinition.Builder>... featureDefinitions)
A list ofFeature
s.FeatureGroup.Builder
featureDefinitions(FeatureDefinition... featureDefinitions)
A list ofFeature
s.FeatureGroup.Builder
featureGroupArn(String featureGroupArn)
The Amazon Resource Name (ARN) of aFeatureGroup
.FeatureGroup.Builder
featureGroupName(String featureGroupName)
The name of theFeatureGroup
.FeatureGroup.Builder
featureGroupStatus(String featureGroupStatus)
AFeatureGroup
status.FeatureGroup.Builder
featureGroupStatus(FeatureGroupStatus featureGroupStatus)
AFeatureGroup
status.FeatureGroup.Builder
lastModifiedTime(Instant lastModifiedTime)
A timestamp indicating the last time you updated the feature group.default FeatureGroup.Builder
lastUpdateStatus(Consumer<LastUpdateStatus.Builder> lastUpdateStatus)
A value that indicates whether the feature group was updated successfully.FeatureGroup.Builder
lastUpdateStatus(LastUpdateStatus lastUpdateStatus)
A value that indicates whether the feature group was updated successfully.default FeatureGroup.Builder
offlineStoreConfig(Consumer<OfflineStoreConfig.Builder> offlineStoreConfig)
Sets the value of the OfflineStoreConfig property for this object.FeatureGroup.Builder
offlineStoreConfig(OfflineStoreConfig offlineStoreConfig)
Sets the value of the OfflineStoreConfig property for this object.default FeatureGroup.Builder
offlineStoreStatus(Consumer<OfflineStoreStatus.Builder> offlineStoreStatus)
Sets the value of the OfflineStoreStatus property for this object.FeatureGroup.Builder
offlineStoreStatus(OfflineStoreStatus offlineStoreStatus)
Sets the value of the OfflineStoreStatus property for this object.default FeatureGroup.Builder
onlineStoreConfig(Consumer<OnlineStoreConfig.Builder> onlineStoreConfig)
Sets the value of the OnlineStoreConfig property for this object.FeatureGroup.Builder
onlineStoreConfig(OnlineStoreConfig onlineStoreConfig)
Sets the value of the OnlineStoreConfig property for this object.FeatureGroup.Builder
recordIdentifierFeatureName(String recordIdentifierFeatureName)
The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.FeatureGroup.Builder
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.FeatureGroup.Builder
tags(Collection<Tag> tags)
Tags used to define aFeatureGroup
.FeatureGroup.Builder
tags(Consumer<Tag.Builder>... tags)
Tags used to define aFeatureGroup
.FeatureGroup.Builder
tags(Tag... tags)
Tags used to define aFeatureGroup
.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
featureGroupArn
FeatureGroup.Builder featureGroupArn(String featureGroupArn)
The Amazon Resource Name (ARN) of a
FeatureGroup
.- Parameters:
featureGroupArn
- The Amazon Resource Name (ARN) of aFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureGroupName
FeatureGroup.Builder featureGroupName(String featureGroupName)
The name of the
FeatureGroup
.- Parameters:
featureGroupName
- The name of theFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordIdentifierFeatureName
FeatureGroup.Builder recordIdentifierFeatureName(String recordIdentifierFeatureName)
The name of the
Feature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.- Parameters:
recordIdentifierFeatureName
- The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTimeFeatureName
FeatureGroup.Builder eventTimeFeatureName(String eventTimeFeatureName)
The name of the feature that stores the
EventTime
of a Record in aFeatureGroup
.A
EventTime
is point in time when a new event occurs that corresponds to the creation or update of aRecord
inFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
.- Parameters:
eventTimeFeatureName
- The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.A
EventTime
is point in time when a new event occurs that corresponds to the creation or update of aRecord
inFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureDefinitions
FeatureGroup.Builder featureDefinitions(Collection<FeatureDefinition> featureDefinitions)
A list of
Feature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
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
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
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
FeatureGroup.Builder featureDefinitions(FeatureDefinition... featureDefinitions)
A list of
Feature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
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
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
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
FeatureGroup.Builder featureDefinitions(Consumer<FeatureDefinition.Builder>... featureDefinitions)
A list of
Feature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
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 to#featureDefinitions(List
.) - 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:
#featureDefinitions(java.util.Collection
)
-
creationTime
FeatureGroup.Builder creationTime(Instant creationTime)
The time a
FeatureGroup
was created.- Parameters:
creationTime
- The time aFeatureGroup
was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
FeatureGroup.Builder lastModifiedTime(Instant lastModifiedTime)
A timestamp indicating the last time you updated the feature group.
- Parameters:
lastModifiedTime
- A timestamp indicating the last time you updated the feature group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onlineStoreConfig
FeatureGroup.Builder onlineStoreConfig(OnlineStoreConfig onlineStoreConfig)
Sets the value of the OnlineStoreConfig property for this object.- Parameters:
onlineStoreConfig
- The new value for the OnlineStoreConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onlineStoreConfig
default FeatureGroup.Builder onlineStoreConfig(Consumer<OnlineStoreConfig.Builder> onlineStoreConfig)
Sets the value of the OnlineStoreConfig property for this object. This is a convenience method that creates an instance of theOnlineStoreConfig.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:
onlineStoreConfig(OnlineStoreConfig)
-
offlineStoreConfig
FeatureGroup.Builder offlineStoreConfig(OfflineStoreConfig offlineStoreConfig)
Sets the value of the OfflineStoreConfig property for this object.- Parameters:
offlineStoreConfig
- The new value for the OfflineStoreConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offlineStoreConfig
default FeatureGroup.Builder offlineStoreConfig(Consumer<OfflineStoreConfig.Builder> offlineStoreConfig)
Sets the value of the OfflineStoreConfig property for this object. 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:
offlineStoreConfig(OfflineStoreConfig)
-
roleArn
FeatureGroup.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureGroupStatus
FeatureGroup.Builder featureGroupStatus(String featureGroupStatus)
A
FeatureGroup
status.- Parameters:
featureGroupStatus
- AFeatureGroup
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureGroupStatus
,FeatureGroupStatus
-
featureGroupStatus
FeatureGroup.Builder featureGroupStatus(FeatureGroupStatus featureGroupStatus)
A
FeatureGroup
status.- Parameters:
featureGroupStatus
- AFeatureGroup
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureGroupStatus
,FeatureGroupStatus
-
offlineStoreStatus
FeatureGroup.Builder offlineStoreStatus(OfflineStoreStatus offlineStoreStatus)
Sets the value of the OfflineStoreStatus property for this object.- Parameters:
offlineStoreStatus
- The new value for the OfflineStoreStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offlineStoreStatus
default FeatureGroup.Builder offlineStoreStatus(Consumer<OfflineStoreStatus.Builder> offlineStoreStatus)
Sets the value of the OfflineStoreStatus property for this object. This is a convenience method that creates an instance of theOfflineStoreStatus.Builder
avoiding the need to create one manually viaOfflineStoreStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toofflineStoreStatus(OfflineStoreStatus)
.- Parameters:
offlineStoreStatus
- a consumer that will call methods onOfflineStoreStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
offlineStoreStatus(OfflineStoreStatus)
-
lastUpdateStatus
FeatureGroup.Builder lastUpdateStatus(LastUpdateStatus lastUpdateStatus)
A value that indicates whether the feature group was updated successfully.
- Parameters:
lastUpdateStatus
- A value that indicates whether the feature group was updated successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateStatus
default FeatureGroup.Builder lastUpdateStatus(Consumer<LastUpdateStatus.Builder> lastUpdateStatus)
A value that indicates whether the feature group was updated successfully.
This is a convenience method that creates an instance of theLastUpdateStatus.Builder
avoiding the need to create one manually viaLastUpdateStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastUpdateStatus(LastUpdateStatus)
.- Parameters:
lastUpdateStatus
- a consumer that will call methods onLastUpdateStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastUpdateStatus(LastUpdateStatus)
-
failureReason
FeatureGroup.Builder failureReason(String failureReason)
The reason that the
FeatureGroup
failed to be replicated in theOfflineStore
. This is failure may be due to a failure to create aFeatureGroup
in or delete aFeatureGroup
from theOfflineStore
.- Parameters:
failureReason
- The reason that theFeatureGroup
failed to be replicated in theOfflineStore
. This is failure may be due to a failure to create aFeatureGroup
in or delete aFeatureGroup
from theOfflineStore
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
FeatureGroup.Builder description(String 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
FeatureGroup.Builder tags(Collection<Tag> tags)
Tags used to define a
FeatureGroup
.- Parameters:
tags
- Tags used to define aFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
FeatureGroup.Builder tags(Tag... tags)
Tags used to define a
FeatureGroup
.- Parameters:
tags
- Tags used to define aFeatureGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
FeatureGroup.Builder tags(Consumer<Tag.Builder>... tags)
Tags used to define a
This is a convenience method that creates an instance of theFeatureGroup
.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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-