@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IngressIpv4Expression extends Object implements Serializable, Cloneable, StructuredPojo
The union type representing the allowed types for the left hand side of an IP condition.
| Constructor and Description |
|---|
IngressIpv4Expression() |
| Modifier and Type | Method and Description |
|---|---|
IngressIpv4Expression |
clone() |
boolean |
equals(Object obj) |
IngressIpToEvaluate |
getEvaluate()
The left hand side argument of an IP condition expression.
|
String |
getOperator()
The matching operator for an IP condition expression.
|
List<String> |
getValues()
The right hand side argument of an IP condition expression.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEvaluate(IngressIpToEvaluate evaluate)
The left hand side argument of an IP condition expression.
|
void |
setOperator(String operator)
The matching operator for an IP condition expression.
|
void |
setValues(Collection<String> values)
The right hand side argument of an IP condition expression.
|
String |
toString()
Returns a string representation of this object.
|
IngressIpv4Expression |
withEvaluate(IngressIpToEvaluate evaluate)
The left hand side argument of an IP condition expression.
|
IngressIpv4Expression |
withOperator(IngressIpOperator operator)
The matching operator for an IP condition expression.
|
IngressIpv4Expression |
withOperator(String operator)
The matching operator for an IP condition expression.
|
IngressIpv4Expression |
withValues(Collection<String> values)
The right hand side argument of an IP condition expression.
|
IngressIpv4Expression |
withValues(String... values)
The right hand side argument of an IP condition expression.
|
public void setEvaluate(IngressIpToEvaluate evaluate)
The left hand side argument of an IP condition expression.
evaluate - The left hand side argument of an IP condition expression.public IngressIpToEvaluate getEvaluate()
The left hand side argument of an IP condition expression.
public IngressIpv4Expression withEvaluate(IngressIpToEvaluate evaluate)
The left hand side argument of an IP condition expression.
evaluate - The left hand side argument of an IP condition expression.public void setOperator(String operator)
The matching operator for an IP condition expression.
operator - The matching operator for an IP condition expression.IngressIpOperatorpublic String getOperator()
The matching operator for an IP condition expression.
IngressIpOperatorpublic IngressIpv4Expression withOperator(String operator)
The matching operator for an IP condition expression.
operator - The matching operator for an IP condition expression.IngressIpOperatorpublic IngressIpv4Expression withOperator(IngressIpOperator operator)
The matching operator for an IP condition expression.
operator - The matching operator for an IP condition expression.IngressIpOperatorpublic List<String> getValues()
The right hand side argument of an IP condition expression.
public void setValues(Collection<String> values)
The right hand side argument of an IP condition expression.
values - The right hand side argument of an IP condition expression.public IngressIpv4Expression withValues(String... values)
The right hand side argument of an IP condition expression.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The right hand side argument of an IP condition expression.public IngressIpv4Expression withValues(Collection<String> values)
The right hand side argument of an IP condition expression.
values - The right hand side argument of an IP condition expression.public String toString()
toString in class ObjectObject.toString()public IngressIpv4Expression clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.