@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on a recommendation filter, including its ARN, status, and filter expression.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The time at which the filter was created.
|
String |
getDatasetGroupArn()
The ARN of the dataset group to which the filter belongs.
|
String |
getFailureReason()
If the filter failed, the reason for its failure.
|
String |
getFilterArn()
The ARN of the filter.
|
String |
getFilterExpression()
Specifies the type of item interactions to filter out of recommendation results.
|
Date |
getLastUpdatedDateTime()
The time at which the filter was last updated.
|
String |
getName()
The name of the filter.
|
String |
getStatus()
The status of the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The time at which the filter was created.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group to which the filter belongs.
|
void |
setFailureReason(String failureReason)
If the filter failed, the reason for its failure.
|
void |
setFilterArn(String filterArn)
The ARN of the filter.
|
void |
setFilterExpression(String filterExpression)
Specifies the type of item interactions to filter out of recommendation results.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The time at which the filter was last updated.
|
void |
setName(String name)
The name of the filter.
|
void |
setStatus(String status)
The status of the filter.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withCreationDateTime(Date creationDateTime)
The time at which the filter was created.
|
Filter |
withDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group to which the filter belongs.
|
Filter |
withFailureReason(String failureReason)
If the filter failed, the reason for its failure.
|
Filter |
withFilterArn(String filterArn)
The ARN of the filter.
|
Filter |
withFilterExpression(String filterExpression)
Specifies the type of item interactions to filter out of recommendation results.
|
Filter |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The time at which the filter was last updated.
|
Filter |
withName(String name)
The name of the filter.
|
Filter |
withStatus(String status)
The status of the filter.
|
public void setName(String name)
The name of the filter.
name
- The name of the filter.public String getName()
The name of the filter.
public Filter withName(String name)
The name of the filter.
name
- The name of the filter.public void setFilterArn(String filterArn)
The ARN of the filter.
filterArn
- The ARN of the filter.public String getFilterArn()
The ARN of the filter.
public Filter withFilterArn(String filterArn)
The ARN of the filter.
filterArn
- The ARN of the filter.public void setCreationDateTime(Date creationDateTime)
The time at which the filter was created.
creationDateTime
- The time at which the filter was created.public Date getCreationDateTime()
The time at which the filter was created.
public Filter withCreationDateTime(Date creationDateTime)
The time at which the filter was created.
creationDateTime
- The time at which the filter was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The time at which the filter was last updated.
lastUpdatedDateTime
- The time at which the filter was last updated.public Date getLastUpdatedDateTime()
The time at which the filter was last updated.
public Filter withLastUpdatedDateTime(Date lastUpdatedDateTime)
The time at which the filter was last updated.
lastUpdatedDateTime
- The time at which the filter was last updated.public void setDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group to which the filter belongs.
datasetGroupArn
- The ARN of the dataset group to which the filter belongs.public String getDatasetGroupArn()
The ARN of the dataset group to which the filter belongs.
public Filter withDatasetGroupArn(String datasetGroupArn)
The ARN of the dataset group to which the filter belongs.
datasetGroupArn
- The ARN of the dataset group to which the filter belongs.public void setFailureReason(String failureReason)
If the filter failed, the reason for its failure.
failureReason
- If the filter failed, the reason for its failure.public String getFailureReason()
If the filter failed, the reason for its failure.
public Filter withFailureReason(String failureReason)
If the filter failed, the reason for its failure.
failureReason
- If the filter failed, the reason for its failure.public void setFilterExpression(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.
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 String getFilterExpression()
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 Filter withFilterExpression(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.
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 void setStatus(String status)
The status of the filter.
status
- The status of the filter.public String getStatus()
The status of the filter.
public Filter withStatus(String status)
The status of the filter.
status
- The status of the filter.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.