@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringCondition extends Object implements Serializable, Cloneable, StructuredPojo
A leaf node condition which can be used to specify a string condition.
Constructor and Description |
---|
StringCondition() |
Modifier and Type | Method and Description |
---|---|
StringCondition |
clone() |
boolean |
equals(Object obj) |
String |
getComparisonType()
The type of comparison to be made when evaluating the string condition.
|
String |
getFieldName()
The name of the field in the string condition.
|
String |
getValue()
The value of the string.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparisonType(String comparisonType)
The type of comparison to be made when evaluating the string condition.
|
void |
setFieldName(String fieldName)
The name of the field in the string condition.
|
void |
setValue(String value)
The value of the string.
|
String |
toString()
Returns a string representation of this object.
|
StringCondition |
withComparisonType(String comparisonType)
The type of comparison to be made when evaluating the string condition.
|
StringCondition |
withComparisonType(StringComparisonType comparisonType)
The type of comparison to be made when evaluating the string condition.
|
StringCondition |
withFieldName(String fieldName)
The name of the field in the string condition.
|
StringCondition |
withValue(String value)
The value of the string.
|
public void setFieldName(String fieldName)
The name of the field in the string condition.
fieldName
- The name of the field in the string condition.public String getFieldName()
The name of the field in the string condition.
public StringCondition withFieldName(String fieldName)
The name of the field in the string condition.
fieldName
- The name of the field in the string condition.public void setValue(String value)
The value of the string.
value
- The value of the string.public String getValue()
The value of the string.
public StringCondition withValue(String value)
The value of the string.
value
- The value of the string.public void setComparisonType(String comparisonType)
The type of comparison to be made when evaluating the string condition.
comparisonType
- The type of comparison to be made when evaluating the string condition.StringComparisonType
public String getComparisonType()
The type of comparison to be made when evaluating the string condition.
StringComparisonType
public StringCondition withComparisonType(String comparisonType)
The type of comparison to be made when evaluating the string condition.
comparisonType
- The type of comparison to be made when evaluating the string condition.StringComparisonType
public StringCondition withComparisonType(StringComparisonType comparisonType)
The type of comparison to be made when evaluating the string condition.
comparisonType
- The type of comparison to be made when evaluating the string condition.StringComparisonType
public String toString()
toString
in class Object
Object.toString()
public StringCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.