@Generated(value="software.amazon.awssdk:codegen") public final class Filter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filter.Builder,Filter>
Contains information on a recommendation filter, including its ARN, status, and filter expression.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Filter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Filter.Builder |
builder() |
Instant |
creationDateTime()
The time at which the filter was created.
|
String |
datasetGroupArn()
The ARN of the dataset group to which the filter belongs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If the filter failed, the reason for its failure.
|
String |
filterArn()
The ARN of the filter.
|
String |
filterExpression()
Specifies the type of item interactions to filter out of recommendation results.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The time at which the filter was last updated.
|
String |
name()
The name of the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Filter.Builder> |
serializableBuilderClass() |
String |
status()
The status of the filter.
|
Filter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the filter.
public String filterArn()
The ARN of the filter.
public Instant creationDateTime()
The time at which the filter was created.
public Instant lastUpdatedDateTime()
The time at which the filter was last updated.
public String datasetGroupArn()
The ARN of the dataset group to which the filter belongs.
public String failureReason()
If the filter failed, the reason for its failure.
public String filterExpression()
Specifies the type of item interactions to filter out of recommendation results. The filter expression must follow the following format:
EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")
Where "EVENT_TYPE" is the type of event to filter out. For more information, see Using Filters with Amazon Personalize.
EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")
Where "EVENT_TYPE" is the type of event to filter out. For more information, see Using Filters with Amazon Personalize.
public String status()
The status of the filter.
public Filter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Filter.Builder,Filter>public static Filter.Builder builder()
public static Class<? extends Filter.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.