@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateFilterRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateFilterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetGroupArn()
The ARN of the dataset group that the filter will belong to.
|
String |
getFilterExpression()
The filter expression that designates the interaction types that the filter will filter out.
|
String |
getName()
The name of the filter to create.
|
int |
hashCode() |
void |
setDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that the filter will belong to.
|
void |
setFilterExpression(String filterExpression)
The filter expression that designates the interaction types that the filter will filter out.
|
void |
setName(String name)
The name of the filter to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateFilterRequest |
withDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that the filter will belong to.
|
CreateFilterRequest |
withFilterExpression(String filterExpression)
The filter expression that designates the interaction types that the filter will filter out.
|
CreateFilterRequest |
withName(String name)
The name of the filter to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the filter to create.
name - The name of the filter to create.public String getName()
The name of the filter to create.
public CreateFilterRequest withName(String name)
The name of the filter to create.
name - The name of the filter to create.public void setDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that the filter will belong to.
datasetGroupArn - The ARN of the dataset group that the filter will belong to.public String getDatasetGroupArn()
The ARN of the dataset group that the filter will belong to.
public CreateFilterRequest withDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group that the filter will belong to.
datasetGroupArn - The ARN of the dataset group that the filter will belong to.public void setFilterExpression(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.
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.
public String getFilterExpression()
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 withFilterExpression(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.
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.
public String toString()
toString in class ObjectObject.toString()public CreateFilterRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()