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 Integer
The attempts allowed to validate an OTP.final String
The brand name that will be substituted into the OTP message body.builder()
final String
channel()
Channel type for the OTP message.final Integer
The number of characters in the generated OTP.final String
The destination identity to send OTP to.final String
entityId()
A unique Entity ID received from DLT after entity registration is approved.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
language()
The language to be used for the outgoing message body containing the OTP.final String
The origination identity used to send OTP from.final String
Developer-specified reference identifier.static Class
<? extends SendOTPMessageRequestParameters.Builder> final String
A unique Template ID received from DLT after entity registration is approved.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Integer
The time in minutes before the OTP is no longer valid.Methods 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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SendOTPMessageRequestParameters.Builder,
SendOTPMessageRequestParameters> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-