@Generated(value="software.amazon.awssdk:codegen") public final class CreateFilterRequest extends PersonalizeRequest implements ToCopyableBuilder<CreateFilterRequest.Builder,CreateFilterRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateFilterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateFilterRequest.Builder |
builder() |
String |
datasetGroupArn()
The ARN of the dataset group that the filter will belong to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filterExpression()
The filter expression that designates the interaction types that the filter will filter out.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the filter to create.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFilterRequest.Builder> |
serializableBuilderClass() |
CreateFilterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the filter to create.
public String datasetGroupArn()
The ARN of the dataset group that the filter will belong to.
public String filterExpression()
The filter expression that designates the interaction types that the filter will filter out. A 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. To filter out all items with any interactions history, set
"*" as the EVENT_TYPE. 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. To filter out all items with any interactions
history, set "*" as the EVENT_TYPE. For more information, see Using Filters with Amazon
Personalize.
public CreateFilterRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateFilterRequest.Builder,CreateFilterRequest>toBuilder in class PersonalizeRequestpublic static CreateFilterRequest.Builder builder()
public static Class<? extends CreateFilterRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.