Package com.vonage.client.verify2
Class SmsWorkflow.Builder
java.lang.Object
com.vonage.client.verify2.Workflow.Builder<SmsWorkflow,SmsWorkflow.Builder>
com.vonage.client.verify2.SmsWorkflow.Builder
- Enclosing class:
SmsWorkflow
public static final class SmsWorkflow.Builder
extends Workflow.Builder<SmsWorkflow,SmsWorkflow.Builder>
Builder class for an SMS workflow.
- Since:
- 8.2.0
-
Field Summary
Fields inherited from class com.vonage.client.verify2.Workflow.Builder
channel, to -
Method Summary
Modifier and TypeMethodDescription(OPTIONAL) Android Application Hash Key for automatic code detection on a user's device.build()Builds the workflow.(OPTIONAL) The TemplateID for SMS delivery using Indian Carriers.(OPTIONAL) PEID field required for SMS delivery using Indian Carriers.(OPTIONAL) The number or ID to send the SMS from.Methods inherited from class com.vonage.client.verify2.Workflow.Builder
to
-
Method Details
-
from
(OPTIONAL) The number or ID to send the SMS from.- Overrides:
fromin classWorkflow.Builder<SmsWorkflow,SmsWorkflow.Builder> - Parameters:
from- The sender number in E.164 format, or an alphanumeric ID (50 characters max).- Returns:
- This builder.
-
appHash
(OPTIONAL) Android Application Hash Key for automatic code detection on a user's device.- Parameters:
appHash- The 11 character Android app hash.- Returns:
- This builder.
-
contentId
(OPTIONAL) The TemplateID for SMS delivery using Indian Carriers.- Parameters:
contentId- The template ID (maximum 20 characters).- Returns:
- This builder.
-
entityId
(OPTIONAL) PEID field required for SMS delivery using Indian Carriers.- Parameters:
entityId- The PEID (maximum 20 characters).- Returns:
- This builder.
-
build
Description copied from class:Workflow.BuilderBuilds the workflow.- Specified by:
buildin classWorkflow.Builder<SmsWorkflow,SmsWorkflow.Builder> - Returns:
- A new instance of the workflow with this builder's fields.
-