public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }
<p>
The subscription's endpoint (format depends on the protocol).
</p>

@param endpoint
       The subscription's endpoint (format depends on the protocol).
aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/model/Subscription.java