@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 defines which items are included or excluded from recommendations.
|
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 defines which items are included or excluded from recommendations.
|
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 defines which items are included or excluded from recommendations.
|
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, withSdkRequestTimeout
public 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 defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see filter-expressions.
filterExpression
- The filter expression defines which items are included or excluded from recommendations. Filter expression
must follow specific format rules. For information about filter expression structure and syntax, see
filter-expressions.public String getFilterExpression()
The filter expression defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see filter-expressions.
public CreateFilterRequest withFilterExpression(String filterExpression)
The filter expression defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see filter-expressions.
filterExpression
- The filter expression defines which items are included or excluded from recommendations. Filter expression
must follow specific format rules. For information about filter expression structure and syntax, see
filter-expressions.public String toString()
toString
in class Object
Object.toString()
public CreateFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()