@Generated(value="software.amazon.awssdk:codegen") public final class TopicCategoryFilterConstant extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicCategoryFilterConstant.Builder,TopicCategoryFilterConstant>
A constant used in a category filter.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TopicCategoryFilterConstant.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TopicCategoryFilterConstant.Builder |
builder() |
CollectiveConstant |
collectiveConstant()
A collective constant used in a category filter.
|
ConstantType |
constantType()
The type of category filter constant.
|
String |
constantTypeAsString()
The type of category filter constant.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TopicCategoryFilterConstant.Builder> |
serializableBuilderClass() |
String |
singularConstant()
A singular constant used in a category filter.
|
TopicCategoryFilterConstant.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version, constantType will
return ConstantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
constantTypeAsString().
SINGULAR and COLLECTIVE.ConstantTypepublic final String constantTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, constantType will
return ConstantType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
constantTypeAsString().
SINGULAR and COLLECTIVE.ConstantTypepublic final String singularConstant()
A singular constant used in a category filter. This element is used to specify a single value for the constant.
public final CollectiveConstant collectiveConstant()
A collective constant used in a category filter. This element is used to specify a list of values for the constant.
public TopicCategoryFilterConstant.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TopicCategoryFilterConstant.Builder,TopicCategoryFilterConstant>public static TopicCategoryFilterConstant.Builder builder()
public static Class<? extends TopicCategoryFilterConstant.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.