@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)
Marshalls this structured data using the given
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.DeliveryMediumType
public String getDeliveryMedium()
The method that Amazon Cognito used to send the code.
DeliveryMediumType
public 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.DeliveryMediumType
public 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.DeliveryMediumType
public 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.DeliveryMediumType
public 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 Object
Object.toString()
public CodeDeliveryDetailsType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.