@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyCondition extends Object implements Serializable, Cloneable, StructuredPojo
The email traffic filtering conditions which are contained in a traffic policy resource.
Constructor and Description |
---|
PolicyCondition() |
Modifier and Type | Method and Description |
---|---|
PolicyCondition |
clone() |
boolean |
equals(Object obj) |
IngressBooleanExpression |
getBooleanExpression()
This represents a boolean type condition matching on the incoming mail.
|
IngressIpv4Expression |
getIpExpression()
This represents an IP based condition matching on the incoming mail.
|
IngressStringExpression |
getStringExpression()
This represents a string based condition matching on the incoming mail.
|
IngressTlsProtocolExpression |
getTlsExpression()
This represents a TLS based condition matching on the incoming mail.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBooleanExpression(IngressBooleanExpression booleanExpression)
This represents a boolean type condition matching on the incoming mail.
|
void |
setIpExpression(IngressIpv4Expression ipExpression)
This represents an IP based condition matching on the incoming mail.
|
void |
setStringExpression(IngressStringExpression stringExpression)
This represents a string based condition matching on the incoming mail.
|
void |
setTlsExpression(IngressTlsProtocolExpression tlsExpression)
This represents a TLS based condition matching on the incoming mail.
|
String |
toString()
Returns a string representation of this object.
|
PolicyCondition |
withBooleanExpression(IngressBooleanExpression booleanExpression)
This represents a boolean type condition matching on the incoming mail.
|
PolicyCondition |
withIpExpression(IngressIpv4Expression ipExpression)
This represents an IP based condition matching on the incoming mail.
|
PolicyCondition |
withStringExpression(IngressStringExpression stringExpression)
This represents a string based condition matching on the incoming mail.
|
PolicyCondition |
withTlsExpression(IngressTlsProtocolExpression tlsExpression)
This represents a TLS based condition matching on the incoming mail.
|
public void setBooleanExpression(IngressBooleanExpression booleanExpression)
This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
booleanExpression
- This represents a boolean type condition matching on the incoming mail. It performs the boolean operation
configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public IngressBooleanExpression getBooleanExpression()
This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
public PolicyCondition withBooleanExpression(IngressBooleanExpression booleanExpression)
This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
booleanExpression
- This represents a boolean type condition matching on the incoming mail. It performs the boolean operation
configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public void setIpExpression(IngressIpv4Expression ipExpression)
This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
ipExpression
- This represents an IP based condition matching on the incoming mail. It performs the operation configured
in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public IngressIpv4Expression getIpExpression()
This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
public PolicyCondition withIpExpression(IngressIpv4Expression ipExpression)
This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
ipExpression
- This represents an IP based condition matching on the incoming mail. It performs the operation configured
in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public void setStringExpression(IngressStringExpression stringExpression)
This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
stringExpression
- This represents a string based condition matching on the incoming mail. It performs the string operation
configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public IngressStringExpression getStringExpression()
This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
public PolicyCondition withStringExpression(IngressStringExpression stringExpression)
This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
stringExpression
- This represents a string based condition matching on the incoming mail. It performs the string operation
configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public void setTlsExpression(IngressTlsProtocolExpression tlsExpression)
This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
tlsExpression
- This represents a TLS based condition matching on the incoming mail. It performs the operation configured
in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public IngressTlsProtocolExpression getTlsExpression()
This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
public PolicyCondition withTlsExpression(IngressTlsProtocolExpression tlsExpression)
This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
tlsExpression
- This represents a TLS based condition matching on the incoming mail. It performs the operation configured
in 'Operator' and evaluates the 'Protocol' object against the 'Value'.public String toString()
toString
in class Object
Object.toString()
public PolicyCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.