Class PutKeywordResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PutKeywordResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutKeywordResponse.Builder,PutKeywordResponse>
@Generated("software.amazon.awssdk:codegen") public final class PutKeywordResponse extends PinpointSmsVoiceV2Response implements ToCopyableBuilder<PutKeywordResponse.Builder,PutKeywordResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutKeywordResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutKeywordResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkeyword()The keyword that was added.KeywordActionkeywordAction()The action to perform when the keyword is used.StringkeywordActionAsString()The action to perform when the keyword is used.StringkeywordMessage()The message associated with the keyword.StringoriginationIdentity()The PhoneNumberId or PoolId that the keyword was associated with.StringoriginationIdentityArn()The PhoneNumberArn or PoolArn that the keyword was associated with.List<SdkField<?>>sdkFields()static Class<? extends PutKeywordResponse.Builder>serializableBuilderClass()PutKeywordResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
originationIdentityArn
public final String originationIdentityArn()
The PhoneNumberArn or PoolArn that the keyword was associated with.
- Returns:
- The PhoneNumberArn or PoolArn that the keyword was associated with.
-
originationIdentity
public final String originationIdentity()
The PhoneNumberId or PoolId that the keyword was associated with.
- Returns:
- The PhoneNumberId or PoolId that the keyword was associated with.
-
keyword
public final String keyword()
The keyword that was added.
- Returns:
- The keyword that was added.
-
keywordMessage
public final String keywordMessage()
The message associated with the keyword.
- Returns:
- The message associated with the keyword.
-
keywordAction
public final KeywordAction keywordAction()
The action to perform when the keyword is used.
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 when the keyword is used.
- See Also:
KeywordAction
-
keywordActionAsString
public final String keywordActionAsString()
The action to perform when the keyword is used.
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 when the keyword is used.
- See Also:
KeywordAction
-
toBuilder
public PutKeywordResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutKeywordResponse.Builder,PutKeywordResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static PutKeywordResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutKeywordResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-