@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 final String name()
The name of the filter.
public final String filterArn()
The ARN of the filter.
public final Instant creationDateTime()
The time at which the filter was created.
public final Instant lastUpdatedDateTime()
The time at which the filter was last updated.
public final String datasetGroupArn()
The ARN of the dataset group to which the filter belongs.
public final String failureReason()
If the filter failed, the reason for its failure.
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.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.