Class Filter

    • Method Detail

      • name

        public final String name()

        The name of the filter.

        Returns:
        The name of the filter.
      • filterArn

        public final String filterArn()

        The ARN of the filter.

        Returns:
        The ARN of the filter.
      • creationDateTime

        public final Instant creationDateTime()

        The time at which the filter was created.

        Returns:
        The time at which the filter was created.
      • lastUpdatedDateTime

        public final Instant lastUpdatedDateTime()

        The time at which the filter was last updated.

        Returns:
        The time at which the filter was last updated.
      • datasetGroupArn

        public final String datasetGroupArn()

        The ARN of the dataset group to which the filter belongs.

        Returns:
        The ARN of the dataset group to which the filter belongs.
      • failureReason

        public final String failureReason()

        If the filter failed, the reason for its failure.

        Returns:
        If the filter failed, the reason for its failure.
      • filterExpression

        public final String filterExpression()

        Specifies the type of item interactions to filter out of recommendation results. The filter expression must follow specific format rules. For information about filter expression structure and syntax, see Filter expressions.

        Returns:
        Specifies the type of item interactions to filter out of recommendation results. The filter expression must follow specific format rules. For information about filter expression structure and syntax, see Filter expressions.
      • status

        public final String status()

        The status of the filter.

        Returns:
        The status of the filter.
      • serializableBuilderClass

        public static Class<? extends Filter.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)