public CodeDeliveryDetailsType withDestination(String destination) {
        setDestination(destination);
        return this;
    }
<p>
The email address or phone number destination where Amazon Cognito sent the code.
</p>

@param destination
       The email address or phone number destination where Amazon Cognito sent the code.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/CodeDeliveryDetailsType.java