@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrStatement extends Object implements Serializable, Cloneable, StructuredPojo
A logical rule statement used to combine other rule statements with OR logic. You provide more than one
Statement within the OrStatement
.
Constructor and Description |
---|
OrStatement() |
Modifier and Type | Method and Description |
---|---|
OrStatement |
clone() |
boolean |
equals(Object obj) |
List<Statement> |
getStatements()
The statements to combine with OR logic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatements(Collection<Statement> statements)
The statements to combine with OR logic.
|
String |
toString()
Returns a string representation of this object.
|
OrStatement |
withStatements(Collection<Statement> statements)
The statements to combine with OR logic.
|
OrStatement |
withStatements(Statement... statements)
The statements to combine with OR logic.
|
public List<Statement> getStatements()
The statements to combine with OR logic. You can use any statements that can be nested.
public void setStatements(Collection<Statement> statements)
The statements to combine with OR logic. You can use any statements that can be nested.
statements
- The statements to combine with OR logic. You can use any statements that can be nested.public OrStatement withStatements(Statement... statements)
The statements to combine with OR logic. You can use any statements that can be nested.
NOTE: This method appends the values to the existing list (if any). Use
setStatements(java.util.Collection)
or withStatements(java.util.Collection)
if you want to
override the existing values.
statements
- The statements to combine with OR logic. You can use any statements that can be nested.public OrStatement withStatements(Collection<Statement> statements)
The statements to combine with OR logic. You can use any statements that can be nested.
statements
- The statements to combine with OR logic. You can use any statements that can be nested.public String toString()
toString
in class Object
Object.toString()
public OrStatement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.