@Generated(value="software.amazon.awssdk:codegen") public final class SendOTPMessageRequestParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SendOTPMessageRequestParameters.Builder,SendOTPMessageRequestParameters>
Send OTP message request parameters.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SendOTPMessageRequestParameters.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
allowedAttempts()
The attempts allowed to validate an OTP.
|
String |
brandName()
The brand name that will be substituted into the OTP message body.
|
static SendOTPMessageRequestParameters.Builder |
builder() |
String |
channel()
Channel type for the OTP message.
|
Integer |
codeLength()
The number of characters in the generated OTP.
|
String |
destinationIdentity()
The destination identity to send OTP to.
|
String |
entityId()
A unique Entity ID received from DLT after entity registration is approved.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
language()
The language to be used for the outgoing message body containing the OTP.
|
String |
originationIdentity()
The origination identity used to send OTP from.
|
String |
referenceId()
Developer-specified reference identifier.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SendOTPMessageRequestParameters.Builder> |
serializableBuilderClass() |
String |
templateId()
A unique Template ID received from DLT after entity registration is approved.
|
SendOTPMessageRequestParameters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
validityPeriod()
The time in minutes before the OTP is no longer valid.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer allowedAttempts()
The attempts allowed to validate an OTP.
public final String brandName()
The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
public final String channel()
Channel type for the OTP message. Supported values: [SMS].
public final Integer codeLength()
The number of characters in the generated OTP.
public final String destinationIdentity()
The destination identity to send OTP to.
public final String entityId()
A unique Entity ID received from DLT after entity registration is approved.
public final String language()
The language to be used for the outgoing message body containing the OTP.
public final String originationIdentity()
The origination identity used to send OTP from.
public final String referenceId()
Developer-specified reference identifier. Required to match during OTP verification.
public final String templateId()
A unique Template ID received from DLT after entity registration is approved.
public final Integer validityPeriod()
The time in minutes before the OTP is no longer valid.
public SendOTPMessageRequestParameters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SendOTPMessageRequestParameters.Builder,SendOTPMessageRequestParameters>public static SendOTPMessageRequestParameters.Builder builder()
public static Class<? extends SendOTPMessageRequestParameters.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.