public class CognitoUserCodeDeliveryDetails
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
CognitoUserCodeDeliveryDetails(CodeDeliveryDetailsType codeDeliveryDetails)
Constructs this object with CodeDeliveryDetailsType.
|
protected |
CognitoUserCodeDeliveryDetails(MFAOptionType mfaOptionType) |
|
CognitoUserCodeDeliveryDetails(java.lang.String destination,
java.lang.String deliveryMedium,
java.lang.String attributeName)
Constructs this object with code delivery details individually specified.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeName()
Returns how will the code be delivered.
|
java.lang.String |
getDeliveryMedium()
Returns the delivery medium for code delivery.
|
java.lang.String |
getDestination()
Returns the destination for code delivery.
|
protected CognitoUserCodeDeliveryDetails(CodeDeliveryDetailsType codeDeliveryDetails)
codeDeliveryDetails - REQUIRED: Cognito code delivery details.protected CognitoUserCodeDeliveryDetails(MFAOptionType mfaOptionType)
public CognitoUserCodeDeliveryDetails(java.lang.String destination,
java.lang.String deliveryMedium,
java.lang.String attributeName)
destination - REQUIRED: Destination.deliveryMedium - REQUIRED: Medium.attributeName - REQUIRED: Mode.public java.lang.String getDestination()
public java.lang.String getDeliveryMedium()
public java.lang.String getAttributeName()