Interface FeatureGroup.Builder

    • Method Detail

      • featureGroupArn

        FeatureGroup.Builder featureGroupArn​(String featureGroupArn)

        The Amazon Resource Name (ARN) of a FeatureGroup.

        Parameters:
        featureGroupArn - The Amazon Resource Name (ARN) of a FeatureGroup.
        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 the FeatureGroup.
        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 a Record defined in the FeatureGroup FeatureDefinitions.

        Parameters:
        recordIdentifierFeatureName - The name of the Feature whose value uniquely identifies a Record defined in the FeatureGroup 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 a FeatureGroup.

        A EventTime is point in time when a new event occurs that corresponds to the creation or update of a Record in FeatureGroup. All Records in the FeatureGroup must have a corresponding EventTime.

        Parameters:
        eventTimeFeatureName - The name of the feature that stores the EventTime of a Record in a FeatureGroup.

        A EventTime is point in time when a new event occurs that corresponds to the creation or update of a Record in FeatureGroup. All Records in the FeatureGroup must have a corresponding EventTime.

        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. Each Feature must include a FeatureName and a FeatureType.

        Valid FeatureTypes are Integral, Fractional and String.

        FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time.

        You can create up to 2,500 FeatureDefinitions per FeatureGroup.

        Parameters:
        featureDefinitions - A list of Features. Each Feature must include a FeatureName and a FeatureType.

        Valid FeatureTypes are Integral, Fractional and String.

        FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time.

        You can create up to 2,500 FeatureDefinitions per FeatureGroup.

        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. Each Feature must include a FeatureName and a FeatureType.

        Valid FeatureTypes are Integral, Fractional and String.

        FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time.

        You can create up to 2,500 FeatureDefinitions per FeatureGroup.

        Parameters:
        featureDefinitions - A list of Features. Each Feature must include a FeatureName and a FeatureType.

        Valid FeatureTypes are Integral, Fractional and String.

        FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time.

        You can create up to 2,500 FeatureDefinitions per FeatureGroup.

        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. Each Feature must include a FeatureName and a FeatureType.

        Valid FeatureTypes are Integral, Fractional and String.

        FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time.

        You can create up to 2,500 FeatureDefinitions per FeatureGroup.

        This is a convenience method that creates an instance of the FeatureDefinition.Builder avoiding the need to create one manually via FeatureDefinition.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 on FeatureDefinition.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 a FeatureGroup 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.
      • 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.
      • 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 - A FeatureGroup 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.
      • 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.
      • failureReason

        FeatureGroup.Builder failureReason​(String failureReason)

        The reason that the FeatureGroup failed to be replicated in the OfflineStore. This is failure may be due to a failure to create a FeatureGroup in or delete a FeatureGroup from the OfflineStore.

        Parameters:
        failureReason - The reason that the FeatureGroup failed to be replicated in the OfflineStore . This is failure may be due to a failure to create a FeatureGroup in or delete a FeatureGroup from the OfflineStore.
        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 a FeatureGroup.
        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 a FeatureGroup.
        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 a FeatureGroup.
        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 FeatureGroup.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.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 on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)