@Generated(value="software.amazon.awssdk:codegen") public final class PutKeywordRequest extends PinpointSmsVoiceV2Request implements ToCopyableBuilder<PutKeywordRequest.Builder,PutKeywordRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutKeywordRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutKeywordRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyword()
The new keyword to add.
|
KeywordAction |
keywordAction()
The action to perform for the new keyword when it is received.
|
String |
keywordActionAsString()
The action to perform for the new keyword when it is received.
|
String |
keywordMessage()
The message associated with the keyword.
|
String |
originationIdentity()
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutKeywordRequest.Builder> |
serializableBuilderClass() |
PutKeywordRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String originationIdentity()
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
public final String keyword()
The new keyword to add.
public final String keywordMessage()
The message associated with the keyword.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
public final KeywordAction keywordAction()
The action to perform for the new keyword when it is received.
If the service returns an enum value that is not available in the current SDK version, keywordAction
will return KeywordAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keywordActionAsString().
KeywordActionpublic final String keywordActionAsString()
The action to perform for the new keyword when it is received.
If the service returns an enum value that is not available in the current SDK version, keywordAction
will return KeywordAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keywordActionAsString().
KeywordActionpublic PutKeywordRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutKeywordRequest.Builder,PutKeywordRequest>toBuilder in class PinpointSmsVoiceV2Requestpublic static PutKeywordRequest.Builder builder()
public static Class<? extends PutKeywordRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.