Interface PutKeywordRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutKeywordRequest.Builder,PutKeywordRequest>,PinpointSmsVoiceV2Request.Builder,SdkBuilder<PutKeywordRequest.Builder,PutKeywordRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutKeywordRequest
public static interface PutKeywordRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<PutKeywordRequest.Builder,PutKeywordRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutKeywordRequest.Builderkeyword(String keyword)The new keyword to add.PutKeywordRequest.BuilderkeywordAction(String keywordAction)The action to perform for the new keyword when it is received.PutKeywordRequest.BuilderkeywordAction(KeywordAction keywordAction)The action to perform for the new keyword when it is received.PutKeywordRequest.BuilderkeywordMessage(String keywordMessage)The message associated with the keyword.PutKeywordRequest.BuilderoriginationIdentity(String originationIdentity)The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.PutKeywordRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutKeywordRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
originationIdentity
PutKeywordRequest.Builder originationIdentity(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyword
PutKeywordRequest.Builder keyword(String keyword)
The new keyword to add.
- Parameters:
keyword- The new keyword to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywordMessage
PutKeywordRequest.Builder keywordMessage(String keywordMessage)
The message associated with the keyword.
- Parameters:
keywordMessage- The message associated with the keyword.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keywordAction
PutKeywordRequest.Builder keywordAction(String keywordAction)
The action to perform for the new keyword when it is received.
-
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.
- Parameters:
keywordAction- The action to perform for the new keyword when it is received.-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeywordAction,KeywordAction
-
-
keywordAction
PutKeywordRequest.Builder keywordAction(KeywordAction keywordAction)
The action to perform for the new keyword when it is received.
-
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.
- Parameters:
keywordAction- The action to perform for the new keyword when it is received.-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeywordAction,KeywordAction
-
-
overrideConfiguration
PutKeywordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutKeywordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-