@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrCondition extends Object implements Serializable, Cloneable, StructuredPojo
A list of conditions which would be applied together with an OR
condition.
Constructor and Description |
---|
OrCondition() |
Modifier and Type | Method and Description |
---|---|
OrCondition |
clone() |
boolean |
equals(Object obj) |
List<TagCondition> |
getAndConditions()
A list of conditions which would be applied together with an
AND condition. |
TagCondition |
getTagCondition()
A leaf node condition which can be used to specify a tag condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAndConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition. |
void |
setTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
|
String |
toString()
Returns a string representation of this object.
|
OrCondition |
withAndConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition. |
OrCondition |
withAndConditions(TagCondition... andConditions)
A list of conditions which would be applied together with an
AND condition. |
OrCondition |
withTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
|
public List<TagCondition> getAndConditions()
A list of conditions which would be applied together with an AND
condition.
AND
condition.public void setAndConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an AND
condition.
andConditions
- A list of conditions which would be applied together with an AND
condition.public OrCondition withAndConditions(TagCondition... andConditions)
A list of conditions which would be applied together with an AND
condition.
NOTE: This method appends the values to the existing list (if any). Use
setAndConditions(java.util.Collection)
or withAndConditions(java.util.Collection)
if you want
to override the existing values.
andConditions
- A list of conditions which would be applied together with an AND
condition.public OrCondition withAndConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an AND
condition.
andConditions
- A list of conditions which would be applied together with an AND
condition.public void setTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
tagCondition
- A leaf node condition which can be used to specify a tag condition.public TagCondition getTagCondition()
A leaf node condition which can be used to specify a tag condition.
public OrCondition withTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
tagCondition
- A leaf node condition which can be used to specify a tag condition.public String toString()
toString
in class Object
Object.toString()
public OrCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.