@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)
Marshalls this structured data using the given
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
.ConstantType
public 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
.ConstantType
public 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
.ConstantType
public 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
.ConstantType
public 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 Object
Object.toString()
public TopicCategoryFilterConstant clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.