@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.
|
List<Tag> |
getTags()
A list of tags to apply to
the filter.
|
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.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply to
the filter.
|
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.
|
CreateFilterRequest |
withTags(Collection<Tag> tags)
A list of tags to apply to
the filter.
|
CreateFilterRequest |
withTags(Tag... tags)
A list of tags to apply to
the filter.
|
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 List<Tag> getTags()
A list of tags to apply to the filter.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the filter.
tags
- A list of tags to
apply to the filter.public CreateFilterRequest withTags(Tag... tags)
A list of tags to apply to the filter.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to
apply to the filter.public CreateFilterRequest withTags(Collection<Tag> tags)
A list of tags to apply to the filter.
tags
- A list of tags to
apply to the filter.public String toString()
toString
in class Object
Object.toString()
public CreateFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()