public EndpointRequest withAddress(String address) {
        setAddress(address);
        return this;
    }
<p>
The destination address for messages or push notifications that you send to the endpoint. The address varies by
channel. For a push-notification channel, use the token provided by the push notification service, such as an
Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging (FCM) registration token. For
the SMS channel, use a phone number in E.164 format, such as +12065550100. For the email channel, use an email
address.
</p>

@param address
       The destination address for messages or push notifications that you send to the endpoint. The address
       varies by channel. For a push-notification channel, use the token provided by the push notification
       service, such as an Apple Push Notification service (APNs) device token or a Firebase Cloud Messaging
       (FCM) registration token. For the SMS channel, use a phone number in E.164 format, such as +12065550100.
       For the email channel, use an email address.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/EndpointRequest.java