@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatastoreFilter extends Object implements Serializable, Cloneable, StructuredPojo
The filters applied to data store query.
Constructor and Description |
---|
DatastoreFilter() |
Modifier and Type | Method and Description |
---|---|
DatastoreFilter |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAfter()
A filter that allows the user to set cutoff dates for records.
|
Date |
getCreatedBefore()
A filter that allows the user to set cutoff dates for records.
|
String |
getDatastoreName()
Allows the user to filter data store results by name.
|
String |
getDatastoreStatus()
Allows the user to filter data store results by status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAfter(Date createdAfter)
A filter that allows the user to set cutoff dates for records.
|
void |
setCreatedBefore(Date createdBefore)
A filter that allows the user to set cutoff dates for records.
|
void |
setDatastoreName(String datastoreName)
Allows the user to filter data store results by name.
|
void |
setDatastoreStatus(String datastoreStatus)
Allows the user to filter data store results by status.
|
String |
toString()
Returns a string representation of this object.
|
DatastoreFilter |
withCreatedAfter(Date createdAfter)
A filter that allows the user to set cutoff dates for records.
|
DatastoreFilter |
withCreatedBefore(Date createdBefore)
A filter that allows the user to set cutoff dates for records.
|
DatastoreFilter |
withDatastoreName(String datastoreName)
Allows the user to filter data store results by name.
|
DatastoreFilter |
withDatastoreStatus(DatastoreStatus datastoreStatus)
Allows the user to filter data store results by status.
|
DatastoreFilter |
withDatastoreStatus(String datastoreStatus)
Allows the user to filter data store results by status.
|
public void setDatastoreName(String datastoreName)
Allows the user to filter data store results by name.
datastoreName
- Allows the user to filter data store results by name.public String getDatastoreName()
Allows the user to filter data store results by name.
public DatastoreFilter withDatastoreName(String datastoreName)
Allows the user to filter data store results by name.
datastoreName
- Allows the user to filter data store results by name.public void setDatastoreStatus(String datastoreStatus)
Allows the user to filter data store results by status.
datastoreStatus
- Allows the user to filter data store results by status.DatastoreStatus
public String getDatastoreStatus()
Allows the user to filter data store results by status.
DatastoreStatus
public DatastoreFilter withDatastoreStatus(String datastoreStatus)
Allows the user to filter data store results by status.
datastoreStatus
- Allows the user to filter data store results by status.DatastoreStatus
public DatastoreFilter withDatastoreStatus(DatastoreStatus datastoreStatus)
Allows the user to filter data store results by status.
datastoreStatus
- Allows the user to filter data store results by status.DatastoreStatus
public void setCreatedBefore(Date createdBefore)
A filter that allows the user to set cutoff dates for records. All data stores created before the specified date will be included in the results.
createdBefore
- A filter that allows the user to set cutoff dates for records. All data stores created before the
specified date will be included in the results.public Date getCreatedBefore()
A filter that allows the user to set cutoff dates for records. All data stores created before the specified date will be included in the results.
public DatastoreFilter withCreatedBefore(Date createdBefore)
A filter that allows the user to set cutoff dates for records. All data stores created before the specified date will be included in the results.
createdBefore
- A filter that allows the user to set cutoff dates for records. All data stores created before the
specified date will be included in the results.public void setCreatedAfter(Date createdAfter)
A filter that allows the user to set cutoff dates for records. All data stores created after the specified date will be included in the results.
createdAfter
- A filter that allows the user to set cutoff dates for records. All data stores created after the specified
date will be included in the results.public Date getCreatedAfter()
A filter that allows the user to set cutoff dates for records. All data stores created after the specified date will be included in the results.
public DatastoreFilter withCreatedAfter(Date createdAfter)
A filter that allows the user to set cutoff dates for records. All data stores created after the specified date will be included in the results.
createdAfter
- A filter that allows the user to set cutoff dates for records. All data stores created after the specified
date will be included in the results.public String toString()
toString
in class Object
Object.toString()
public DatastoreFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.