Interface SendNotifyCodeVerificationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendNotifyCodeVerificationRequest.Builder,,SendNotifyCodeVerificationRequest> EndUserMessagingRequest.Builder,SdkBuilder<SendNotifyCodeVerificationRequest.Builder,,SendNotifyCodeVerificationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendNotifyCodeVerificationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe channel used to deliver the one-time passcode to the recipient.channel(NotifyChannel channel) The channel used to deliver the one-time passcode to the recipient.configurationSetName(String configurationSetName) The name of the configuration set used to control how delivery events for the message are handled.A map of custom key and value pairs that are propagated to the delivery events for this verification.destinationIdentity(String destinationIdentity) The recipient identifier.notifyCodeConfiguration(String notifyCodeConfiguration) The identifier or Amazon Resource Name (ARN) of the notify code configuration that supplies the passcode policy and template defaults.originationIdentity(String originationIdentity) The identity used to send the message, such as a phone number, sender ID, or pool that is owned by your account.overrideChannelParameters(Consumer<ChannelParameters.Builder> overrideChannelParameters) The channel-specific parameters used to render and deliver the one-time passcode for this request.overrideChannelParameters(ChannelParameters overrideChannelParameters) The channel-specific parameters used to render and deliver the one-time passcode for this request.overrideCodeConfigurationParameters(Consumer<CodeConfigurationParameters.Builder> overrideCodeConfigurationParameters) The per-send overrides for the passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.overrideCodeConfigurationParameters(CodeConfigurationParameters overrideCodeConfigurationParameters) The per-send overrides for the passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.referenceId(String referenceId) A caller-supplied reference identifier that binds a send request to a later validate request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.endusermessaging.model.EndUserMessagingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
channel
The channel used to deliver the one-time passcode to the recipient.
- Parameters:
channel- The channel used to deliver the one-time passcode to the recipient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channel
The channel used to deliver the one-time passcode to the recipient.
- Parameters:
channel- The channel used to deliver the one-time passcode to the recipient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationIdentity
The recipient identifier. For the TEXT and VOICE channels, specify an E.164 phone number. For the WhatsApp channel, specify a WhatsApp address.
- Parameters:
destinationIdentity- The recipient identifier. For the TEXT and VOICE channels, specify an E.164 phone number. For the WhatsApp channel, specify a WhatsApp address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originationIdentity
The identity used to send the message, such as a phone number, sender ID, or pool that is owned by your account.
- Parameters:
originationIdentity- The identity used to send the message, such as a phone number, sender ID, or pool that is owned by your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyCodeConfiguration
The identifier or Amazon Resource Name (ARN) of the notify code configuration that supplies the passcode policy and template defaults. When you do not specify a configuration, you must supply the template in the request.
- Parameters:
notifyCodeConfiguration- The identifier or Amazon Resource Name (ARN) of the notify code configuration that supplies the passcode policy and template defaults. When you do not specify a configuration, you must supply the template in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideChannelParameters
SendNotifyCodeVerificationRequest.Builder overrideChannelParameters(ChannelParameters overrideChannelParameters) The channel-specific parameters used to render and deliver the one-time passcode for this request. The route that is derived from the channel and the origination identity selects the matching channel. When you do not specify channel parameters, the service uses the parameters from the referenced notify code configuration.
- Parameters:
overrideChannelParameters- The channel-specific parameters used to render and deliver the one-time passcode for this request. The route that is derived from the channel and the origination identity selects the matching channel. When you do not specify channel parameters, the service uses the parameters from the referenced notify code configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideChannelParameters
default SendNotifyCodeVerificationRequest.Builder overrideChannelParameters(Consumer<ChannelParameters.Builder> overrideChannelParameters) The channel-specific parameters used to render and deliver the one-time passcode for this request. The route that is derived from the channel and the origination identity selects the matching channel. When you do not specify channel parameters, the service uses the parameters from the referenced notify code configuration.
This is a convenience method that creates an instance of theChannelParameters.Builderavoiding the need to create one manually viaChannelParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooverrideChannelParameters(ChannelParameters).- Parameters:
overrideChannelParameters- a consumer that will call methods onChannelParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideCodeConfigurationParameters
SendNotifyCodeVerificationRequest.Builder overrideCodeConfigurationParameters(CodeConfigurationParameters overrideCodeConfigurationParameters) The per-send overrides for the passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. These values override the values from the referenced notify code configuration. When you do not specify a value, the value from the configuration is used, and if neither is set, the service default applies.
- Parameters:
overrideCodeConfigurationParameters- The per-send overrides for the passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. These values override the values from the referenced notify code configuration. When you do not specify a value, the value from the configuration is used, and if neither is set, the service default applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideCodeConfigurationParameters
default SendNotifyCodeVerificationRequest.Builder overrideCodeConfigurationParameters(Consumer<CodeConfigurationParameters.Builder> overrideCodeConfigurationParameters) The per-send overrides for the passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. These values override the values from the referenced notify code configuration. When you do not specify a value, the value from the configuration is used, and if neither is set, the service default applies.
This is a convenience method that creates an instance of theCodeConfigurationParameters.Builderavoiding the need to create one manually viaCodeConfigurationParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooverrideCodeConfigurationParameters(CodeConfigurationParameters).- Parameters:
overrideCodeConfigurationParameters- a consumer that will call methods onCodeConfigurationParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationSetName
The name of the configuration set used to control how delivery events for the message are handled.
- Parameters:
configurationSetName- The name of the configuration set used to control how delivery events for the message are handled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
A map of custom key and value pairs that are propagated to the delivery events for this verification.
- Parameters:
context- A map of custom key and value pairs that are propagated to the delivery events for this verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceId
A caller-supplied reference identifier that binds a send request to a later validate request. Specify the same value in both requests.
- Parameters:
referenceId- A caller-supplied reference identifier that binds a send request to a later validate request. Specify the same value in both requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendNotifyCodeVerificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendNotifyCodeVerificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-