Class KeywordInformation
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.KeywordInformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KeywordInformation.Builder,KeywordInformation>
@Generated("software.amazon.awssdk:codegen") public final class KeywordInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KeywordInformation.Builder,KeywordInformation>
The information for all keywords in a pool.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKeywordInformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeywordInformation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkeyword()The keyword as a string.KeywordActionkeywordAction()The action to perform for the keyword.StringkeywordActionAsString()The action to perform for the keyword.StringkeywordMessage()A custom message that can be used with the keyword.List<SdkField<?>>sdkFields()static Class<? extends KeywordInformation.Builder>serializableBuilderClass()KeywordInformation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
keyword
public final String keyword()
The keyword as a string.
- Returns:
- The keyword as a string.
-
keywordMessage
public final String keywordMessage()
A custom message that can be used with the keyword.
- Returns:
- A custom message that can be used with the keyword.
-
keywordAction
public final KeywordAction keywordAction()
The action to perform for the keyword.
If the service returns an enum value that is not available in the current SDK version,
keywordActionwill returnKeywordAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeywordActionAsString().- Returns:
- The action to perform for the keyword.
- See Also:
KeywordAction
-
keywordActionAsString
public final String keywordActionAsString()
The action to perform for the keyword.
If the service returns an enum value that is not available in the current SDK version,
keywordActionwill returnKeywordAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeywordActionAsString().- Returns:
- The action to perform for the keyword.
- See Also:
KeywordAction
-
toBuilder
public KeywordInformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KeywordInformation.Builder,KeywordInformation>
-
builder
public static KeywordInformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends KeywordInformation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-