@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Condition extends Object implements Serializable, Cloneable, StructuredPojo
A conditional statement with which to compare a value, after a timestamp, before a timestamp, or equal to a string or
integer. If multiple conditions are specified, the conditionals become an AND
ed statement. If multiple
values are specified for a conditional, the values are OR
d.
Constructor and Description |
---|
Condition() |
Modifier and Type | Method and Description |
---|---|
Condition |
clone() |
boolean |
equals(Object obj) |
Date |
getAfter()
After the specified timestamp.
|
Date |
getBefore()
Before the specified timestamp
|
AttributeValueList |
getEquals()
The value is equal to the provided string or integer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAfter(Date after)
After the specified timestamp.
|
void |
setBefore(Date before)
Before the specified timestamp
|
void |
setEquals(AttributeValueList equals)
The value is equal to the provided string or integer.
|
String |
toString()
Returns a string representation of this object.
|
Condition |
withAfter(Date after)
After the specified timestamp.
|
Condition |
withBefore(Date before)
Before the specified timestamp
|
Condition |
withEquals(AttributeValueList equals)
The value is equal to the provided string or integer.
|
public void setAfter(Date after)
After the specified timestamp.
after
- After the specified timestamp.public Date getAfter()
After the specified timestamp.
public Condition withAfter(Date after)
After the specified timestamp.
after
- After the specified timestamp.public void setBefore(Date before)
Before the specified timestamp
before
- Before the specified timestamppublic Date getBefore()
Before the specified timestamp
public Condition withBefore(Date before)
Before the specified timestamp
before
- Before the specified timestamppublic void setEquals(AttributeValueList equals)
The value is equal to the provided string or integer.
equals
- The value is equal to the provided string or integer.public AttributeValueList getEquals()
The value is equal to the provided string or integer.
public Condition withEquals(AttributeValueList equals)
The value is equal to the provided string or integer.
equals
- The value is equal to the provided string or integer.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.