@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicCategoryFilterConstant extends Object implements Serializable, Cloneable, StructuredPojo
A constant used in a category filter.
| Constructor and Description |
|---|
TopicCategoryFilterConstant() |
| Modifier and Type | Method and Description |
|---|---|
TopicCategoryFilterConstant |
clone() |
boolean |
equals(Object obj) |
CollectiveConstant |
getCollectiveConstant()
A collective constant used in a category filter.
|
String |
getConstantType()
The type of category filter constant.
|
String |
getSingularConstant()
A singular constant used in a category filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCollectiveConstant(CollectiveConstant collectiveConstant)
A collective constant used in a category filter.
|
void |
setConstantType(String constantType)
The type of category filter constant.
|
void |
setSingularConstant(String singularConstant)
A singular constant used in a category filter.
|
String |
toString()
Returns a string representation of this object.
|
TopicCategoryFilterConstant |
withCollectiveConstant(CollectiveConstant collectiveConstant)
A collective constant used in a category filter.
|
TopicCategoryFilterConstant |
withConstantType(ConstantType constantType)
The type of category filter constant.
|
TopicCategoryFilterConstant |
withConstantType(String constantType)
The type of category filter constant.
|
TopicCategoryFilterConstant |
withSingularConstant(String singularConstant)
A singular constant used in a category filter.
|
public void setConstantType(String constantType)
The type of category filter constant. This element is used to specify whether a constant is a singular or
collective. Valid values are SINGULAR and COLLECTIVE.
constantType - The type of category filter constant. This element is used to specify whether a constant is a singular or
collective. Valid values are SINGULAR and COLLECTIVE.ConstantTypepublic String getConstantType()
The type of category filter constant. This element is used to specify whether a constant is a singular or
collective. Valid values are SINGULAR and COLLECTIVE.
SINGULAR and COLLECTIVE.ConstantTypepublic TopicCategoryFilterConstant withConstantType(String constantType)
The type of category filter constant. This element is used to specify whether a constant is a singular or
collective. Valid values are SINGULAR and COLLECTIVE.
constantType - The type of category filter constant. This element is used to specify whether a constant is a singular or
collective. Valid values are SINGULAR and COLLECTIVE.ConstantTypepublic TopicCategoryFilterConstant withConstantType(ConstantType constantType)
The type of category filter constant. This element is used to specify whether a constant is a singular or
collective. Valid values are SINGULAR and COLLECTIVE.
constantType - The type of category filter constant. This element is used to specify whether a constant is a singular or
collective. Valid values are SINGULAR and COLLECTIVE.ConstantTypepublic void setSingularConstant(String singularConstant)
A singular constant used in a category filter. This element is used to specify a single value for the constant.
singularConstant - A singular constant used in a category filter. This element is used to specify a single value for the
constant.public String getSingularConstant()
A singular constant used in a category filter. This element is used to specify a single value for the constant.
public TopicCategoryFilterConstant withSingularConstant(String singularConstant)
A singular constant used in a category filter. This element is used to specify a single value for the constant.
singularConstant - A singular constant used in a category filter. This element is used to specify a single value for the
constant.public void setCollectiveConstant(CollectiveConstant collectiveConstant)
A collective constant used in a category filter. This element is used to specify a list of values for the constant.
collectiveConstant - A collective constant used in a category filter. This element is used to specify a list of values for the
constant.public CollectiveConstant getCollectiveConstant()
A collective constant used in a category filter. This element is used to specify a list of values for the constant.
public TopicCategoryFilterConstant withCollectiveConstant(CollectiveConstant collectiveConstant)
A collective constant used in a category filter. This element is used to specify a list of values for the constant.
collectiveConstant - A collective constant used in a category filter. This element is used to specify a list of values for the
constant.public String toString()
toString in class ObjectObject.toString()public TopicCategoryFilterConstant clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.