Class SendOTPMessageRequestParameters
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SendOTPMessageRequestParameters.Builder,SendOTPMessageRequestParameters>
Send OTP message request parameters.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThe attempts allowed to validate an OTP.final StringThe brand name that will be substituted into the OTP message body.builder()final Stringchannel()Channel type for the OTP message.final IntegerThe number of characters in the generated OTP.final StringThe destination identity to send OTP to.final StringentityId()A unique Entity ID received from DLT after entity registration is approved.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringlanguage()The language to be used for the outgoing message body containing the OTP.final StringThe origination identity used to send OTP from.final StringDeveloper-specified reference identifier.static Class<? extends SendOTPMessageRequestParameters.Builder>final StringA unique Template ID received from DLT after entity registration is approved.final StringtoString()Returns a string representation of this object.final IntegerThe time in minutes before the OTP is no longer valid.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
allowedAttempts
The attempts allowed to validate an OTP.
- Returns:
- The attempts allowed to validate an OTP.
-
brandName
The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
- Returns:
- The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
-
channel
Channel type for the OTP message. Supported values: [SMS].
- Returns:
- Channel type for the OTP message. Supported values: [SMS].
-
codeLength
The number of characters in the generated OTP.
- Returns:
- The number of characters in the generated OTP.
-
destinationIdentity
The destination identity to send OTP to.
- Returns:
- The destination identity to send OTP to.
-
entityId
A unique Entity ID received from DLT after entity registration is approved.
- Returns:
- A unique Entity ID received from DLT after entity registration is approved.
-
language
The language to be used for the outgoing message body containing the OTP.
- Returns:
- The language to be used for the outgoing message body containing the OTP.
-
originationIdentity
The origination identity used to send OTP from.
- Returns:
- The origination identity used to send OTP from.
-
referenceId
Developer-specified reference identifier. Required to match during OTP verification.
- Returns:
- Developer-specified reference identifier. Required to match during OTP verification.
-
templateId
A unique Template ID received from DLT after entity registration is approved.
- Returns:
- A unique Template ID received from DLT after entity registration is approved.
-
validityPeriod
The time in minutes before the OTP is no longer valid.
- Returns:
- The time in minutes before the OTP is no longer valid.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SendOTPMessageRequestParameters.Builder,SendOTPMessageRequestParameters>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-