@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendOTPMessageRequestParameters extends Object implements Serializable, Cloneable, StructuredPojo
Send OTP message request parameters.
Constructor and Description |
---|
SendOTPMessageRequestParameters() |
Modifier and Type | Method and Description |
---|---|
SendOTPMessageRequestParameters |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllowedAttempts()
The attempts allowed to validate an OTP.
|
String |
getBrandName()
The brand name that will be substituted into the OTP message body.
|
String |
getChannel()
Channel type for the OTP message.
|
Integer |
getCodeLength()
The number of characters in the generated OTP.
|
String |
getDestinationIdentity()
The destination identity to send OTP to.
|
String |
getEntityId()
A unique Entity ID received from DLT after entity registration is approved.
|
String |
getLanguage()
The language to be used for the outgoing message body containing the OTP.
|
String |
getOriginationIdentity()
The origination identity used to send OTP from.
|
String |
getReferenceId()
Developer-specified reference identifier.
|
String |
getTemplateId()
A unique Template ID received from DLT after entity registration is approved.
|
Integer |
getValidityPeriod()
The time in minutes before the OTP is no longer valid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllowedAttempts(Integer allowedAttempts)
The attempts allowed to validate an OTP.
|
void |
setBrandName(String brandName)
The brand name that will be substituted into the OTP message body.
|
void |
setChannel(String channel)
Channel type for the OTP message.
|
void |
setCodeLength(Integer codeLength)
The number of characters in the generated OTP.
|
void |
setDestinationIdentity(String destinationIdentity)
The destination identity to send OTP to.
|
void |
setEntityId(String entityId)
A unique Entity ID received from DLT after entity registration is approved.
|
void |
setLanguage(String language)
The language to be used for the outgoing message body containing the OTP.
|
void |
setOriginationIdentity(String originationIdentity)
The origination identity used to send OTP from.
|
void |
setReferenceId(String referenceId)
Developer-specified reference identifier.
|
void |
setTemplateId(String templateId)
A unique Template ID received from DLT after entity registration is approved.
|
void |
setValidityPeriod(Integer validityPeriod)
The time in minutes before the OTP is no longer valid.
|
String |
toString()
Returns a string representation of this object.
|
SendOTPMessageRequestParameters |
withAllowedAttempts(Integer allowedAttempts)
The attempts allowed to validate an OTP.
|
SendOTPMessageRequestParameters |
withBrandName(String brandName)
The brand name that will be substituted into the OTP message body.
|
SendOTPMessageRequestParameters |
withChannel(String channel)
Channel type for the OTP message.
|
SendOTPMessageRequestParameters |
withCodeLength(Integer codeLength)
The number of characters in the generated OTP.
|
SendOTPMessageRequestParameters |
withDestinationIdentity(String destinationIdentity)
The destination identity to send OTP to.
|
SendOTPMessageRequestParameters |
withEntityId(String entityId)
A unique Entity ID received from DLT after entity registration is approved.
|
SendOTPMessageRequestParameters |
withLanguage(String language)
The language to be used for the outgoing message body containing the OTP.
|
SendOTPMessageRequestParameters |
withOriginationIdentity(String originationIdentity)
The origination identity used to send OTP from.
|
SendOTPMessageRequestParameters |
withReferenceId(String referenceId)
Developer-specified reference identifier.
|
SendOTPMessageRequestParameters |
withTemplateId(String templateId)
A unique Template ID received from DLT after entity registration is approved.
|
SendOTPMessageRequestParameters |
withValidityPeriod(Integer validityPeriod)
The time in minutes before the OTP is no longer valid.
|
public void setAllowedAttempts(Integer allowedAttempts)
The attempts allowed to validate an OTP.
allowedAttempts
- The attempts allowed to validate an OTP.public Integer getAllowedAttempts()
The attempts allowed to validate an OTP.
public SendOTPMessageRequestParameters withAllowedAttempts(Integer allowedAttempts)
The attempts allowed to validate an OTP.
allowedAttempts
- The attempts allowed to validate an OTP.public void setBrandName(String brandName)
The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
brandName
- The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.public String getBrandName()
The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
public SendOTPMessageRequestParameters withBrandName(String brandName)
The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.
brandName
- The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.public void setChannel(String channel)
Channel type for the OTP message. Supported values: [SMS].
channel
- Channel type for the OTP message. Supported values: [SMS].public String getChannel()
Channel type for the OTP message. Supported values: [SMS].
public SendOTPMessageRequestParameters withChannel(String channel)
Channel type for the OTP message. Supported values: [SMS].
channel
- Channel type for the OTP message. Supported values: [SMS].public void setCodeLength(Integer codeLength)
The number of characters in the generated OTP.
codeLength
- The number of characters in the generated OTP.public Integer getCodeLength()
The number of characters in the generated OTP.
public SendOTPMessageRequestParameters withCodeLength(Integer codeLength)
The number of characters in the generated OTP.
codeLength
- The number of characters in the generated OTP.public void setDestinationIdentity(String destinationIdentity)
The destination identity to send OTP to.
destinationIdentity
- The destination identity to send OTP to.public String getDestinationIdentity()
The destination identity to send OTP to.
public SendOTPMessageRequestParameters withDestinationIdentity(String destinationIdentity)
The destination identity to send OTP to.
destinationIdentity
- The destination identity to send OTP to.public void setEntityId(String entityId)
A unique Entity ID received from DLT after entity registration is approved.
entityId
- A unique Entity ID received from DLT after entity registration is approved.public String getEntityId()
A unique Entity ID received from DLT after entity registration is approved.
public SendOTPMessageRequestParameters withEntityId(String entityId)
A unique Entity ID received from DLT after entity registration is approved.
entityId
- A unique Entity ID received from DLT after entity registration is approved.public void setLanguage(String language)
The language to be used for the outgoing message body containing the OTP.
language
- The language to be used for the outgoing message body containing the OTP.public String getLanguage()
The language to be used for the outgoing message body containing the OTP.
public SendOTPMessageRequestParameters withLanguage(String language)
The language to be used for the outgoing message body containing the OTP.
language
- The language to be used for the outgoing message body containing the OTP.public void setOriginationIdentity(String originationIdentity)
The origination identity used to send OTP from.
originationIdentity
- The origination identity used to send OTP from.public String getOriginationIdentity()
The origination identity used to send OTP from.
public SendOTPMessageRequestParameters withOriginationIdentity(String originationIdentity)
The origination identity used to send OTP from.
originationIdentity
- The origination identity used to send OTP from.public void setReferenceId(String referenceId)
Developer-specified reference identifier. Required to match during OTP verification.
referenceId
- Developer-specified reference identifier. Required to match during OTP verification.public String getReferenceId()
Developer-specified reference identifier. Required to match during OTP verification.
public SendOTPMessageRequestParameters withReferenceId(String referenceId)
Developer-specified reference identifier. Required to match during OTP verification.
referenceId
- Developer-specified reference identifier. Required to match during OTP verification.public void setTemplateId(String templateId)
A unique Template ID received from DLT after entity registration is approved.
templateId
- A unique Template ID received from DLT after entity registration is approved.public String getTemplateId()
A unique Template ID received from DLT after entity registration is approved.
public SendOTPMessageRequestParameters withTemplateId(String templateId)
A unique Template ID received from DLT after entity registration is approved.
templateId
- A unique Template ID received from DLT after entity registration is approved.public void setValidityPeriod(Integer validityPeriod)
The time in minutes before the OTP is no longer valid.
validityPeriod
- The time in minutes before the OTP is no longer valid.public Integer getValidityPeriod()
The time in minutes before the OTP is no longer valid.
public SendOTPMessageRequestParameters withValidityPeriod(Integer validityPeriod)
The time in minutes before the OTP is no longer valid.
validityPeriod
- The time in minutes before the OTP is no longer valid.public String toString()
toString
in class Object
Object.toString()
public SendOTPMessageRequestParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.