@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicSingularFilterConstant extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a singular filter constant, used in filters to specify a single value to match against.
| Constructor and Description |
|---|
TopicSingularFilterConstant() |
| Modifier and Type | Method and Description |
|---|---|
TopicSingularFilterConstant |
clone() |
boolean |
equals(Object obj) |
String |
getConstantType()
The type of the singular filter constant.
|
String |
getSingularConstant()
The value of the singular filter constant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConstantType(String constantType)
The type of the singular filter constant.
|
void |
setSingularConstant(String singularConstant)
The value of the singular filter constant.
|
String |
toString()
Returns a string representation of this object.
|
TopicSingularFilterConstant |
withConstantType(ConstantType constantType)
The type of the singular filter constant.
|
TopicSingularFilterConstant |
withConstantType(String constantType)
The type of the singular filter constant.
|
TopicSingularFilterConstant |
withSingularConstant(String singularConstant)
The value of the singular filter constant.
|
public void setConstantType(String constantType)
The type of the singular filter constant. Valid values for this structure are SINGULAR.
constantType - The type of the singular filter constant. Valid values for this structure are SINGULAR.ConstantTypepublic String getConstantType()
The type of the singular filter constant. Valid values for this structure are SINGULAR.
SINGULAR.ConstantTypepublic TopicSingularFilterConstant withConstantType(String constantType)
The type of the singular filter constant. Valid values for this structure are SINGULAR.
constantType - The type of the singular filter constant. Valid values for this structure are SINGULAR.ConstantTypepublic TopicSingularFilterConstant withConstantType(ConstantType constantType)
The type of the singular filter constant. Valid values for this structure are SINGULAR.
constantType - The type of the singular filter constant. Valid values for this structure are SINGULAR.ConstantTypepublic void setSingularConstant(String singularConstant)
The value of the singular filter constant.
singularConstant - The value of the singular filter constant.public String getSingularConstant()
The value of the singular filter constant.
public TopicSingularFilterConstant withSingularConstant(String singularConstant)
The value of the singular filter constant.
singularConstant - The value of the singular filter constant.public String toString()
toString in class ObjectObject.toString()public TopicSingularFilterConstant clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.