@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Expression extends Object implements Serializable, Cloneable, StructuredPojo
A tagged union to specify expression for a routing step.
Constructor and Description |
---|
Expression() |
Modifier and Type | Method and Description |
---|---|
Expression |
clone() |
boolean |
equals(Object obj) |
List<Expression> |
getAndExpression()
List of routing expressions which will be AND-ed together.
|
AttributeCondition |
getAttributeCondition()
An object to specify the predefined attribute condition.
|
List<Expression> |
getOrExpression()
List of routing expressions which will be OR-ed together.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAndExpression(Collection<Expression> andExpression)
List of routing expressions which will be AND-ed together.
|
void |
setAttributeCondition(AttributeCondition attributeCondition)
An object to specify the predefined attribute condition.
|
void |
setOrExpression(Collection<Expression> orExpression)
List of routing expressions which will be OR-ed together.
|
String |
toString()
Returns a string representation of this object.
|
Expression |
withAndExpression(Collection<Expression> andExpression)
List of routing expressions which will be AND-ed together.
|
Expression |
withAndExpression(Expression... andExpression)
List of routing expressions which will be AND-ed together.
|
Expression |
withAttributeCondition(AttributeCondition attributeCondition)
An object to specify the predefined attribute condition.
|
Expression |
withOrExpression(Collection<Expression> orExpression)
List of routing expressions which will be OR-ed together.
|
Expression |
withOrExpression(Expression... orExpression)
List of routing expressions which will be OR-ed together.
|
public void setAttributeCondition(AttributeCondition attributeCondition)
An object to specify the predefined attribute condition.
attributeCondition
- An object to specify the predefined attribute condition.public AttributeCondition getAttributeCondition()
An object to specify the predefined attribute condition.
public Expression withAttributeCondition(AttributeCondition attributeCondition)
An object to specify the predefined attribute condition.
attributeCondition
- An object to specify the predefined attribute condition.public List<Expression> getAndExpression()
List of routing expressions which will be AND-ed together.
public void setAndExpression(Collection<Expression> andExpression)
List of routing expressions which will be AND-ed together.
andExpression
- List of routing expressions which will be AND-ed together.public Expression withAndExpression(Expression... andExpression)
List of routing expressions which will be AND-ed together.
NOTE: This method appends the values to the existing list (if any). Use
setAndExpression(java.util.Collection)
or withAndExpression(java.util.Collection)
if you want
to override the existing values.
andExpression
- List of routing expressions which will be AND-ed together.public Expression withAndExpression(Collection<Expression> andExpression)
List of routing expressions which will be AND-ed together.
andExpression
- List of routing expressions which will be AND-ed together.public List<Expression> getOrExpression()
List of routing expressions which will be OR-ed together.
public void setOrExpression(Collection<Expression> orExpression)
List of routing expressions which will be OR-ed together.
orExpression
- List of routing expressions which will be OR-ed together.public Expression withOrExpression(Expression... orExpression)
List of routing expressions which will be OR-ed together.
NOTE: This method appends the values to the existing list (if any). Use
setOrExpression(java.util.Collection)
or withOrExpression(java.util.Collection)
if you want to
override the existing values.
orExpression
- List of routing expressions which will be OR-ed together.public Expression withOrExpression(Collection<Expression> orExpression)
List of routing expressions which will be OR-ed together.
orExpression
- List of routing expressions which will be OR-ed together.public String toString()
toString
in class Object
Object.toString()
public Expression clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.