@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Predicate extends Object implements Serializable, Cloneable, StructuredPojo
Defines the predicate of the trigger, which determines when it fires.
| Constructor and Description |
|---|
Predicate() |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
clone() |
boolean |
equals(Object obj) |
List<Condition> |
getConditions()
A list of the conditions that determine when the trigger will fire.
|
String |
getLogical()
Currently "OR" is not supported.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
|
void |
setLogical(String logical)
Currently "OR" is not supported.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Predicate |
withConditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate |
withConditions(Condition... conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate |
withLogical(Logical logical)
Currently "OR" is not supported.
|
Predicate |
withLogical(String logical)
Currently "OR" is not supported.
|
public void setLogical(String logical)
Currently "OR" is not supported.
logical - Currently "OR" is not supported.Logicalpublic String getLogical()
Currently "OR" is not supported.
Logicalpublic Predicate withLogical(String logical)
Currently "OR" is not supported.
logical - Currently "OR" is not supported.Logicalpublic Predicate withLogical(Logical logical)
Currently "OR" is not supported.
logical - Currently "OR" is not supported.Logicalpublic List<Condition> getConditions()
A list of the conditions that determine when the trigger will fire.
public void setConditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
conditions - A list of the conditions that determine when the trigger will fire.public Predicate withConditions(Condition... conditions)
A list of the conditions that determine when the trigger will fire.
NOTE: This method appends the values to the existing list (if any). Use
setConditions(java.util.Collection) or withConditions(java.util.Collection) if you want to
override the existing values.
conditions - A list of the conditions that determine when the trigger will fire.public Predicate withConditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
conditions - A list of the conditions that determine when the trigger will fire.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.