@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeDeliveryDetailsType extends Object implements Serializable, Cloneable, StructuredPojo
The delivery details for an email or SMS message that Amazon Cognito sent for authentication or verification.
| Constructor and Description |
|---|
CodeDeliveryDetailsType() |
| Modifier and Type | Method and Description |
|---|---|
CodeDeliveryDetailsType |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the attribute that Amazon Cognito verifies with the code.
|
String |
getDeliveryMedium()
The method that Amazon Cognito used to send the code.
|
String |
getDestination()
The email address or phone number destination where Amazon Cognito sent the code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributeName(String attributeName)
The name of the attribute that Amazon Cognito verifies with the code.
|
void |
setDeliveryMedium(DeliveryMediumType deliveryMedium)
The method that Amazon Cognito used to send the code.
|
void |
setDeliveryMedium(String deliveryMedium)
The method that Amazon Cognito used to send the code.
|
void |
setDestination(String destination)
The email address or phone number destination where Amazon Cognito sent the code.
|
String |
toString()
Returns a string representation of this object.
|
CodeDeliveryDetailsType |
withAttributeName(String attributeName)
The name of the attribute that Amazon Cognito verifies with the code.
|
CodeDeliveryDetailsType |
withDeliveryMedium(DeliveryMediumType deliveryMedium)
The method that Amazon Cognito used to send the code.
|
CodeDeliveryDetailsType |
withDeliveryMedium(String deliveryMedium)
The method that Amazon Cognito used to send the code.
|
CodeDeliveryDetailsType |
withDestination(String destination)
The email address or phone number destination where Amazon Cognito sent the code.
|
public void setDestination(String destination)
The email address or phone number destination where Amazon Cognito sent the code.
destination - The email address or phone number destination where Amazon Cognito sent the code.public String getDestination()
The email address or phone number destination where Amazon Cognito sent the code.
public CodeDeliveryDetailsType withDestination(String destination)
The email address or phone number destination where Amazon Cognito sent the code.
destination - The email address or phone number destination where Amazon Cognito sent the code.public void setDeliveryMedium(String deliveryMedium)
The method that Amazon Cognito used to send the code.
deliveryMedium - The method that Amazon Cognito used to send the code.DeliveryMediumTypepublic String getDeliveryMedium()
The method that Amazon Cognito used to send the code.
DeliveryMediumTypepublic CodeDeliveryDetailsType withDeliveryMedium(String deliveryMedium)
The method that Amazon Cognito used to send the code.
deliveryMedium - The method that Amazon Cognito used to send the code.DeliveryMediumTypepublic void setDeliveryMedium(DeliveryMediumType deliveryMedium)
The method that Amazon Cognito used to send the code.
deliveryMedium - The method that Amazon Cognito used to send the code.DeliveryMediumTypepublic CodeDeliveryDetailsType withDeliveryMedium(DeliveryMediumType deliveryMedium)
The method that Amazon Cognito used to send the code.
deliveryMedium - The method that Amazon Cognito used to send the code.DeliveryMediumTypepublic void setAttributeName(String attributeName)
The name of the attribute that Amazon Cognito verifies with the code.
attributeName - The name of the attribute that Amazon Cognito verifies with the code.public String getAttributeName()
The name of the attribute that Amazon Cognito verifies with the code.
public CodeDeliveryDetailsType withAttributeName(String attributeName)
The name of the attribute that Amazon Cognito verifies with the code.
attributeName - The name of the attribute that Amazon Cognito verifies with the code.public String toString()
toString in class ObjectObject.toString()public CodeDeliveryDetailsType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.