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