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.BuildercreationTime(Instant creationTime)The time aFeatureGroupwas created.FeatureGroup.Builderdescription(String description)A free form description of aFeatureGroup.FeatureGroup.BuildereventTimeFeatureName(String eventTimeFeatureName)The name of the feature that stores theEventTimeof a Record in aFeatureGroup.FeatureGroup.BuilderfailureReason(String failureReason)The reason that theFeatureGroupfailed to be replicated in theOfflineStore.FeatureGroup.BuilderfeatureDefinitions(Collection<FeatureDefinition> featureDefinitions)A list ofFeatures.FeatureGroup.BuilderfeatureDefinitions(Consumer<FeatureDefinition.Builder>... featureDefinitions)A list ofFeatures.FeatureGroup.BuilderfeatureDefinitions(FeatureDefinition... featureDefinitions)A list ofFeatures.FeatureGroup.BuilderfeatureGroupArn(String featureGroupArn)The Amazon Resource Name (ARN) of aFeatureGroup.FeatureGroup.BuilderfeatureGroupName(String featureGroupName)The name of theFeatureGroup.FeatureGroup.BuilderfeatureGroupStatus(String featureGroupStatus)AFeatureGroupstatus.FeatureGroup.BuilderfeatureGroupStatus(FeatureGroupStatus featureGroupStatus)AFeatureGroupstatus.FeatureGroup.BuilderlastModifiedTime(Instant lastModifiedTime)A timestamp indicating the last time you updated the feature group.default FeatureGroup.BuilderlastUpdateStatus(Consumer<LastUpdateStatus.Builder> lastUpdateStatus)A value that indicates whether the feature group was updated successfully.FeatureGroup.BuilderlastUpdateStatus(LastUpdateStatus lastUpdateStatus)A value that indicates whether the feature group was updated successfully.default FeatureGroup.BuilderofflineStoreConfig(Consumer<OfflineStoreConfig.Builder> offlineStoreConfig)Sets the value of the OfflineStoreConfig property for this object.FeatureGroup.BuilderofflineStoreConfig(OfflineStoreConfig offlineStoreConfig)Sets the value of the OfflineStoreConfig property for this object.default FeatureGroup.BuilderofflineStoreStatus(Consumer<OfflineStoreStatus.Builder> offlineStoreStatus)Sets the value of the OfflineStoreStatus property for this object.FeatureGroup.BuilderofflineStoreStatus(OfflineStoreStatus offlineStoreStatus)Sets the value of the OfflineStoreStatus property for this object.default FeatureGroup.BuilderonlineStoreConfig(Consumer<OnlineStoreConfig.Builder> onlineStoreConfig)Sets the value of the OnlineStoreConfig property for this object.FeatureGroup.BuilderonlineStoreConfig(OnlineStoreConfig onlineStoreConfig)Sets the value of the OnlineStoreConfig property for this object.FeatureGroup.BuilderrecordIdentifierFeatureName(String recordIdentifierFeatureName)The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.FeatureGroup.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.FeatureGroup.Buildertags(Collection<Tag> tags)Tags used to define aFeatureGroup.FeatureGroup.Buildertags(Consumer<Tag.Builder>... tags)Tags used to define aFeatureGroup.FeatureGroup.Buildertags(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, sdkFieldNameToField, 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
Featurewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.- Parameters:
recordIdentifierFeatureName- The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.- 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
EventTimeof a Record in aFeatureGroup.A
EventTimeis point in time when a new event occurs that corresponds to the creation or update of aRecordinFeatureGroup. AllRecordsin theFeatureGroupmust have a correspondingEventTime.- Parameters:
eventTimeFeatureName- The name of the feature that stores theEventTimeof a Record in aFeatureGroup.A
EventTimeis point in time when a new event occurs that corresponds to the creation or update of aRecordinFeatureGroup. AllRecordsin theFeatureGroupmust 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
Features. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_time.You can create up to 2,500
FeatureDefinitions perFeatureGroup.- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_time.You can create up to 2,500
FeatureDefinitions 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
Features. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_time.You can create up to 2,500
FeatureDefinitions perFeatureGroup.- Parameters:
featureDefinitions- A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_time.You can create up to 2,500
FeatureDefinitions 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
Features. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames 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 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 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
FeatureGroupwas created.- Parameters:
creationTime- The time aFeatureGroupwas 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.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:
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.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:
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
FeatureGroupstatus.- Parameters:
featureGroupStatus- AFeatureGroupstatus.- 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
FeatureGroupstatus.- Parameters:
featureGroupStatus- AFeatureGroupstatus.- 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.Builderavoiding the need to create one manually viaOfflineStoreStatus.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLastUpdateStatus.builder().When the
Consumercompletes,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
FeatureGroupfailed to be replicated in theOfflineStore. This is failure may be due to a failure to create aFeatureGroupin or delete aFeatureGroupfrom theOfflineStore.- Parameters:
failureReason- The reason that theFeatureGroupfailed to be replicated in theOfflineStore. This is failure may be due to a failure to create aFeatureGroupin or delete aFeatureGroupfrom 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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)
-
-