@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotStatement extends Object implements Serializable, Cloneable, StructuredPojo
A logical rule statement used to negate the results of another rule statement. You provide one Statement
within the NotStatement
.
Constructor and Description |
---|
NotStatement() |
Modifier and Type | Method and Description |
---|---|
NotStatement |
clone() |
boolean |
equals(Object obj) |
Statement |
getStatement()
The statement to negate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatement(Statement statement)
The statement to negate.
|
String |
toString()
Returns a string representation of this object.
|
NotStatement |
withStatement(Statement statement)
The statement to negate.
|
public void setStatement(Statement statement)
The statement to negate. You can use any statement that can be nested.
statement
- The statement to negate. You can use any statement that can be nested.public Statement getStatement()
The statement to negate. You can use any statement that can be nested.
public NotStatement withStatement(Statement statement)
The statement to negate. You can use any statement that can be nested.
statement
- The statement to negate. You can use any statement that can be nested.public String toString()
toString
in class Object
Object.toString()
public NotStatement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.